提交 8a2fdd4a 编写于 作者: J Jan Kara

xfs: Remove useless test

Q_XQUOTARM is never passed to xfs_fs_set_xstate() so remove the test.
Reviewed-by: NBrian Foster <bfoster@redhat.com>
Signed-off-by: NJan Kara <jack@suse.cz>
上级 ca6cb091
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册