diff options
author | Jan Kara <jack@suse.cz> | 2014-10-08 05:44:47 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-01-21 13:21:32 -0500 |
commit | 8a2fdd4a49d40017b3fca42beb2e1c8c0174a743 (patch) | |
tree | 2826838e1638c8e8bd3140bf21379b2a1f3a1061 /fs | |
parent | ca6cb0918e8765de304916a15554b42203e6e1fc (diff) |
xfs: Remove useless test
Q_XQUOTARM is never passed to xfs_fs_set_xstate() so remove the test.
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_quotaops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c index 7542bbeca6a1..8fcd20dbf89a 100644 --- a/fs/xfs/xfs_quotaops.c +++ b/fs/xfs/xfs_quotaops.c | |||
@@ -75,7 +75,7 @@ xfs_fs_set_xstate( | |||
75 | 75 | ||
76 | if (sb->s_flags & MS_RDONLY) | 76 | if (sb->s_flags & MS_RDONLY) |
77 | return -EROFS; | 77 | return -EROFS; |
78 | if (op != Q_XQUOTARM && !XFS_IS_QUOTA_RUNNING(mp)) | 78 | if (!XFS_IS_QUOTA_RUNNING(mp)) |
79 | return -ENOSYS; | 79 | return -ENOSYS; |
80 | 80 | ||
81 | if (uflags & FS_QUOTA_UDQ_ACCT) | 81 | if (uflags & FS_QUOTA_UDQ_ACCT) |