summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/quota.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-09-15 10:59:02 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2009-12-03 12:49:09 +0100
commitcc632e7f93465597896862cf9e50baefb1999215 (patch)
tree4a4a98f86e4fbfc5d127f2059c658ce2da1a87b0 /fs/gfs2/quota.h
parentGFS2: Alter arguments of gfs2_quota/statfs_sync (diff)
downloadlinux-cc632e7f93465597896862cf9e50baefb1999215.tar.xz
linux-cc632e7f93465597896862cf9e50baefb1999215.zip
GFS2: Hook gfs2_quota_sync into VFS via gfs2_quotactl_ops
The plan is to add further operations to the gfs2_quotactl_ops in future patches. The sync operation is easy, so we start with that one. We plan to use the XFS quota control functions because they more closely match the GFS2 ones. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/gfs2/quota.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/quota.h b/fs/gfs2/quota.h
index 437afa77663f..025d15ba24c0 100644
--- a/fs/gfs2/quota.h
+++ b/fs/gfs2/quota.h
@@ -50,5 +50,6 @@ static inline int gfs2_quota_lock_check(struct gfs2_inode *ip)
}
extern int gfs2_shrink_qd_memory(int nr, gfp_t gfp_mask);
+extern const struct quotactl_ops gfs2_quotactl_ops;
#endif /* __QUOTA_DOT_H__ */