projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6cb09
)
xfs: Remove useless test
author
Jan Kara
<jack@suse.cz>
Wed, 8 Oct 2014 09:44:47 +0000
(11:44 +0200)
committer
Jan Kara
<jack@suse.cz>
Wed, 21 Jan 2015 18:21:32 +0000
(19:21 +0100)
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>
fs/xfs/xfs_quotaops.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_quotaops.c
b/fs/xfs/xfs_quotaops.c
index 7542bbeca6a12b18ae1162a51a8dd97f6c35790e..8fcd20dbf89aa8181e64d5098e1d44b36399df92 100644
(file)
--- a/
fs/xfs/xfs_quotaops.c
+++ b/
fs/xfs/xfs_quotaops.c
@@
-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)