aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index d2701cc624b9..fa87279405d8 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -767,6 +767,18 @@ linvfs_show_options(
767} 767}
768 768
769STATIC int 769STATIC int
770linvfs_quotasync(
771 struct super_block *sb,
772 int type)
773{
774 struct vfs *vfsp = LINVFS_GET_VFS(sb);
775 int error;
776
777 VFS_QUOTACTL(vfsp, Q_XQUOTASYNC, 0, (caddr_t)NULL, error);
778 return -error;
779}
780
781STATIC int
770linvfs_getxstate( 782linvfs_getxstate(
771 struct super_block *sb, 783 struct super_block *sb,
772 struct fs_quota_stat *fqs) 784 struct fs_quota_stat *fqs)
@@ -934,6 +946,7 @@ STATIC struct super_operations linvfs_sops = {
934}; 946};
935 947
936STATIC struct quotactl_ops linvfs_qops = { 948STATIC struct quotactl_ops linvfs_qops = {
949 .quota_sync = linvfs_quotasync,
937 .get_xstate = linvfs_getxstate, 950 .get_xstate = linvfs_getxstate,
938 .set_xstate = linvfs_setxstate, 951 .set_xstate = linvfs_setxstate,
939 .get_xquota = linvfs_getxquota, 952 .get_xquota = linvfs_getxquota,