[PATCH] BLOCK: Move functions out of buffer code [try #6]
authorDavid Howells <dhowells@redhat.com>
Tue, 29 Aug 2006 18:05:54 +0000 (19:05 +0100)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:31:19 +0000 (20:31 +0200)
commitcf9a2ae8d49948f861b56e5333530e491a9da190
tree21f0b0d781b3e60cc60464d39b6d95681201b37e
parent4090959aee403817ff386415f9bc602c1a0882ef
[PATCH] BLOCK: Move functions out of buffer code [try #6]

Move some functions out of the buffering code that aren't strictly buffering
specific.  This is a precursor to being able to disable the block layer.

 (*) Moved some stuff out of fs/buffer.c:

     (*) The file sync and general sync stuff moved to fs/sync.c.

     (*) The superblock sync stuff moved to fs/super.c.

     (*) do_invalidatepage() moved to mm/truncate.c.

     (*) try_to_release_page() moved to mm/filemap.c.

 (*) Moved some related declarations between header files:

     (*) declarations for do_invalidatepage() and try_to_release_page() moved
       to linux/mm.h.

     (*) __set_page_dirty_buffers() moved to linux/buffer_head.h.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/buffer.c
fs/super.c
fs/sync.c
include/linux/buffer_head.h
include/linux/fs.h
include/linux/mm.h
mm/filemap.c
mm/page-writeback.c
mm/truncate.c