ocfs2: Remove ocfs2_sync_inode()
commit4c38881f87c21ada5609a4065cb10e3e74da0d6e
authorJan Kara <jack@suse.cz>
Thu, 5 Aug 2010 18:32:46 +0000 (5 20:32 +0200)
committerJoel Becker <joel.becker@oracle.com>
Fri, 10 Sep 2010 15:39:44 +0000 (10 08:39 -0700)
treecc311dbffe1e6435e3a25151d32a82b5c9150684
parent83fd9c7f65634ac440a6b9b7a63ba562f213ac60
ocfs2: Remove ocfs2_sync_inode()

ocfs2_sync_inode() is used only from ocfs2_sync_file(). But all data has
already been written before calling ocfs2_sync_file() and ocfs2 doesn't use
inode's private_list for tracking metadata buffers thus sync_mapping_buffers()
is superfluous as well.

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/file.c