GFS2: Clean up fsync()
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 14 Apr 2011 08:54:02 +0000 (09:54 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 20 Apr 2011 08:00:41 +0000 (09:00 +0100)
commitdba898b02defa66e5fe493d58ec0293a940f9c93
tree68ef0414a4c0ba677c23dbca6ecab957e9f11c35
parentefc1a9c2a70e4e49f4cf179a7ed8064b7a406e4a
GFS2: Clean up fsync()

This patch is designed to clean up GFS2's fsync
implementation and ensure that it really does get everything on
disk. Since ->write_inode() has been updated, we can call that
via the vfs library function sync_inode_metadata() and the only
remaining thing that has to be done is to ensure that we get
any revoke records in the log after the inode has been written back.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c
fs/gfs2/glops.c
fs/gfs2/glops.h
This page took 0.02515 seconds and 5 git commands to generate.