diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-09-15 04:59:02 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-12-03 06:49:09 -0500 |
commit | cc632e7f93465597896862cf9e50baefb1999215 (patch) | |
tree | 4a4a98f86e4fbfc5d127f2059c658ce2da1a87b0 /fs/gfs2/quota.c | |
parent | 8c42d637f6f2859e0fb28b78d5add7f0dc6d0973 (diff) |
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 'fs/gfs2/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index ed9e1971b2cd..73a43cee0ea3 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
@@ -1378,3 +1378,7 @@ int gfs2_quotad(void *data) | |||
1378 | return 0; | 1378 | return 0; |
1379 | } | 1379 | } |
1380 | 1380 | ||
1381 | const struct quotactl_ops gfs2_quotactl_ops = { | ||
1382 | .quota_sync = gfs2_quota_sync, | ||
1383 | }; | ||
1384 | |||