aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2010-02-16 08:44:50 +0000
committerJan Kara <[email protected]>2010-03-04 23:20:22 +0000
commitc988afb5fa3fc450207c3dfc0ce535f4bfdae4d1 (patch)
treedcb9b4e11c4429ee79198ee3a7de43d734c1cbfe /fs/jbd/commit.c
parentquota: special case Q_SYNC without device name (diff)
downloadkernel-c988afb5fa3fc450207c3dfc0ce535f4bfdae4d1.tar.gz
kernel-c988afb5fa3fc450207c3dfc0ce535f4bfdae4d1.zip
quota: simplify permission checking
Stop having complicated different routines for checking permissions for XQM vs "VFS" quotas. Instead do the checks for having sb->s_qcop and a valid type directly in do_quotactl, and munge the *quotactl_valid functions into a check_quotactl_permission helper that only checks for permissions. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions