X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fxfs%2Flinux-2.6%2Fxfs_quotaops.c;h=3d4a0c84d634f947f36eb3bad04128cbc603f17d;hb=a80a66caf8110fc33af8013353fe0da0ae553a13;hp=9e41f91aa269f392ae4eb00490b785e21d74049d;hpb=bf699c9bac124f0a095d8ef06f2d6b219300a822;p=mv-sheeva.git diff --git a/fs/xfs/linux-2.6/xfs_quotaops.c b/fs/xfs/linux-2.6/xfs_quotaops.c index 9e41f91aa26..3d4a0c84d63 100644 --- a/fs/xfs/linux-2.6/xfs_quotaops.c +++ b/fs/xfs/linux-2.6/xfs_quotaops.c @@ -80,7 +80,7 @@ xfs_fs_set_xstate( if (sb->s_flags & MS_RDONLY) return -EROFS; - if (!XFS_IS_QUOTA_RUNNING(mp)) + if (op != Q_XQUOTARM && !XFS_IS_QUOTA_RUNNING(mp)) return -ENOSYS; if (!capable(CAP_SYS_ADMIN)) return -EPERM;