mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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>
This commit is contained in:
parent
ca6cb0918e
commit
8a2fdd4a49
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ xfs_fs_set_xstate(
|
|||
|
||||
if (sb->s_flags & MS_RDONLY)
|
||||
return -EROFS;
|
||||
if (op != Q_XQUOTARM && !XFS_IS_QUOTA_RUNNING(mp))
|
||||
if (!XFS_IS_QUOTA_RUNNING(mp))
|
||||
return -ENOSYS;
|
||||
|
||||
if (uflags & FS_QUOTA_UDQ_ACCT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue