]> err.no Git - linux-2.6/commit
[GFS2] Change gfs2_fsync() to use write_inode_now()
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Dec 2006 14:13:14 +0000 (09:13 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Dec 2006 14:13:14 +0000 (09:13 -0500)
commit34126f9f41901ca9d7d0031c2b11fc0d6c07b72d
tree8e129a12dc75009c29fcddff0199ae74e0913199
parent887bc5d00c02b32763845247024e8db5243ef857
[GFS2] Change gfs2_fsync() to use write_inode_now()

This is a bit better than the previous version of gfs2_fsync()
although it would be better still if we were able to call a
function which only wrote the inode & metadata. Its no big deal
though that this will potentially write the data as well since
the VFS has already done that before calling gfs2_fsync(). I've
also added a comment to explain whats going on here.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>
fs/gfs2/ops_file.c