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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 24073f8a292b..103add6eccb6 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -729,7 +729,7 @@ xfs_fs_quotasync(
729 struct super_block *sb, 729 struct super_block *sb,
730 int type) 730 int type)
731{ 731{
732 return -bhv_vfs_quotactl(vfs_from_sb(sb), Q_XQUOTASYNC, 0, NULL); 732 return -XFS_QM_QUOTACTL(XFS_M(sb), Q_XQUOTASYNC, 0, NULL);
733} 733}
734 734
735STATIC int 735STATIC int
@@ -737,7 +737,7 @@ xfs_fs_getxstate(
737 struct super_block *sb, 737 struct super_block *sb,
738 struct fs_quota_stat *fqs) 738 struct fs_quota_stat *fqs)
739{ 739{
740 return -bhv_vfs_quotactl(vfs_from_sb(sb), Q_XGETQSTAT, 0, (caddr_t)fqs); 740 return -XFS_QM_QUOTACTL(XFS_M(sb), Q_XGETQSTAT, 0, (caddr_t)fqs);
741} 741}
742 742
743STATIC int 743STATIC int
@@ -746,7 +746,7 @@ xfs_fs_setxstate(
746 unsigned int flags, 746 unsigned int flags,
747 int op) 747 int op)
748{ 748{
749 return -bhv_vfs_quotactl(vfs_from_sb(sb), op, 0, (caddr_t)&flags); 749 return -XFS_QM_QUOTACTL(XFS_M(sb), op, 0, (caddr_t)&flags);
750} 750}
751 751
752STATIC int 752STATIC int
@@ -756,7 +756,7 @@ xfs_fs_getxquota(
756 qid_t id, 756 qid_t id,
757 struct fs_disk_quota *fdq) 757 struct fs_disk_quota *fdq)
758{ 758{
759 return -bhv_vfs_quotactl(vfs_from_sb(sb), 759 return -XFS_QM_QUOTACTL(XFS_M(sb),
760 (type == USRQUOTA) ? Q_XGETQUOTA : 760 (type == USRQUOTA) ? Q_XGETQUOTA :
761 ((type == GRPQUOTA) ? Q_XGETGQUOTA : 761 ((type == GRPQUOTA) ? Q_XGETGQUOTA :
762 Q_XGETPQUOTA), id, (caddr_t)fdq); 762 Q_XGETPQUOTA), id, (caddr_t)fdq);
@@ -769,7 +769,7 @@ xfs_fs_setxquota(
769 qid_t id, 769 qid_t id,
770 struct fs_disk_quota *fdq) 770 struct fs_disk_quota *fdq)
771{ 771{
772 return -bhv_vfs_quotactl(vfs_from_sb(sb), 772 return -XFS_QM_QUOTACTL(XFS_M(sb),
773 (type == USRQUOTA) ? Q_XSETQLIM : 773 (type == USRQUOTA) ? Q_XSETQLIM :
774 ((type == GRPQUOTA) ? Q_XSETGQLIM : 774 ((type == GRPQUOTA) ? Q_XSETGQLIM :
775 Q_XSETPQLIM), id, (caddr_t)fdq); 775 Q_XSETPQLIM), id, (caddr_t)fdq);