diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-04-14 12:54:02 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-04-20 12:00:41 +0400 |
commit | dba898b02defa66e5fe493d58ec0293a940f9c93 (patch) | |
tree | 68ef0414a4c0ba677c23dbca6ecab957e9f11c35 /fs/gfs2/glops.h | |
parent | efc1a9c2a70e4e49f4cf179a7ed8064b7a406e4a (diff) | |
download | linux-dba898b02defa66e5fe493d58ec0293a940f9c93.tar.xz |
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.h | 2 |
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__ */ |