vfs: add hooks for ext4's delayed allocation support
authorAlex Tomas <alex@clusterfs.com>
Fri, 11 Jul 2008 23:27:31 +0000 (19:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 11 Jul 2008 23:27:31 +0000 (19:27 -0400)
commit29a814d2ee0e43c2980f33f91c1311ec06c0aa35
treedfc9d45fc3194237192b6cde1069faa70fe4c260
parent87c89c232c8f7b3820c33c3b9bc803e9358027da
vfs: add hooks for ext4's delayed allocation support

Export mpage_bio_submit() and __mpage_writepage() for the benefit of
ext4's delayed allocation support.   Also change __block_write_full_page
so that if buffers that have the BH_Delay flag set it will call
get_block() to get the physical block allocated, just as in the
!BH_Mapped case.

Signed-off-by: Alex Tomas <alex@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/buffer.c
fs/mpage.c
include/linux/mpage.h