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)
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>

No differences found