summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.h
diff options
context:
space:
mode:
authorSteven Whitehouse2011-04-14 10:54:02 +0200
committerSteven Whitehouse2011-04-20 10:00:41 +0200
commitdba898b02defa66e5fe493d58ec0293a940f9c93 (patch)
tree68ef0414a4c0ba677c23dbca6ecab957e9f11c35 /fs/gfs2/glops.h
parentGFS2: Remove unused macro (diff)
downloadkernel-qcow2-linux-dba898b02defa66e5fe493d58ec0293a940f9c93.tar.gz
kernel-qcow2-linux-dba898b02defa66e5fe493d58ec0293a940f9c93.tar.xz
kernel-qcow2-linux-dba898b02defa66e5fe493d58ec0293a940f9c93.zip
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 b3aa2e3210fd..6fce409b5a50 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__ */