ocfs2: Use filemap_write_and_wait() instead of write_inode_now()
authorJan Kara <jack@suse.cz>
Mon, 7 Nov 2011 23:20:39 +0000 (00:20 +0100)
committerJoel Becker <jlbec@evilplan.org>
Thu, 17 Nov 2011 10:18:57 +0000 (02:18 -0800)
commit249ec93c01db8898058899a80ffb537c8d27f86f
tree381c22ba9726ac884aa1267b91736fff3836c766
parentdf295d4a4b3c98af1a2445a82aef169e7e5d96b8
ocfs2: Use filemap_write_and_wait() instead of write_inode_now()

Since ocfs2 has no ->write_inode method, there's no point in calling
write_inode_now() from ocfs2_cleanup_delete_inode().  Use
filemap_write_and_wait() instead. This helps us to cleanup inode writing
interfaces...

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/inode.c