Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186099
b: refs/heads/master
c: ac0e773
h: refs/heads/master
i:
  186097: d616ee0
  186095: e1dc820
v: v3
  • Loading branch information
Christoph Hellwig authored and Jan Kara committed Mar 4, 2010
1 parent f2845cf commit dcbadc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5582c76f901d240f57329212b59b4d957ea8d6cf
refs/heads/master: ac0e773718dc20551e72900d2e7eada96ac91100
4 changes: 0 additions & 4 deletions trunk/fs/xfs/linux-2.6/xfs_quotaops.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ xfs_fs_set_xstate(
return -EROFS;
if (op != Q_XQUOTARM && !XFS_IS_QUOTA_RUNNING(mp))
return -ENOSYS;
if (!capable(CAP_SYS_ADMIN))
return -EPERM;

if (uflags & XFS_QUOTA_UDQ_ACCT)
flags |= XFS_UQUOTA_ACCT;
Expand Down Expand Up @@ -130,8 +128,6 @@ xfs_fs_set_xquota(
return -ENOSYS;
if (!XFS_IS_QUOTA_ON(mp))
return -ESRCH;
if (!capable(CAP_SYS_ADMIN))
return -EPERM;

return -xfs_qm_scall_setqlim(mp, id, xfs_quota_type(type), fdq);
}
Expand Down

0 comments on commit dcbadc7

Please sign in to comment.