Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

Jan Kara 8a2fdd4a ca6cb091

+1 -1
+1 -1
fs/xfs/xfs_quotaops.c
··· 75 75 76 76 if (sb->s_flags & MS_RDONLY) 77 77 return -EROFS; 78 - if (op != Q_XQUOTARM && !XFS_IS_QUOTA_RUNNING(mp)) 78 + if (!XFS_IS_QUOTA_RUNNING(mp)) 79 79 return -ENOSYS; 80 80 81 81 if (uflags & FS_QUOTA_UDQ_ACCT)