aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-04-14 09:54:02 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2011-04-20 09:00:41 +0100
commitdba898b02defa66e5fe493d58ec0293a940f9c93 (patch)
tree68ef0414a4c0ba677c23dbca6ecab957e9f11c35 /fs/gfs2/glops.h
parentefc1a9c2a70e4e49f4cf179a7ed8064b7a406e4a (diff)
downloadkernel_samsung_smdk4412-dba898b02defa66e5fe493d58ec0293a940f9c93.zip
kernel_samsung_smdk4412-dba898b02defa66e5fe493d58ec0293a940f9c93.tar.gz
kernel_samsung_smdk4412-dba898b02defa66e5fe493d58ec0293a940f9c93.tar.bz2
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>
Diffstat (limited to 'fs/gfs2/glops.h')
-rw-r--r--fs/gfs2/glops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/glops.h b/fs/gfs2/glops.h
index b3aa2e3..6fce409 100644
--- a/fs/gfs2/glops.h
+++ b/fs/gfs2/glops.h
@@ -23,4 +23,6 @@ extern const struct gfs2_glock_operations gfs2_quota_glops;
extern const struct gfs2_glock_operations gfs2_journal_glops;
extern const struct gfs2_glock_operations *gfs2_glops_list[];
+extern void gfs2_ail_flush(struct gfs2_glock *gl);
+
#endif /* __GLOPS_DOT_H__ */