Re: fs: move bdev code out of buffer.c

From: Al Viro
Date: Wed Apr 01 2009 - 07:10:30 EST


On Mon, Mar 30, 2009 at 11:55:24AM -0700, Andrew Morton wrote:

> This patch moved the CONFIG_BLOCK=y declaration of freeze_bdev() out of
> buffer_head.h and into fs.h. But it left the CONFIG_BLOCK=n definition
> of freeze_bdev() in buffer_head.h.

Actually, there's more.
a) fsync_bdev() export is left behind in buffer.c
b) sync_blockdev/invalidate_bdev are like freeze_bdev/thaw_bdev -
non-block stubs need to be moved.

Fixed and pushed into for-next
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/