commit | c988afb5fa3fc450207c3dfc0ce535f4bfdae4d1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Tue Feb 16 03:44:50 2010 -0500 |
committer | Jan Kara <jack@suse.cz> | Fri Mar 05 00:20:22 2010 +0100 |
tree | dcb9b4e11c4429ee79198ee3a7de43d734c1cbfe | |
parent | 6ae09575b3c951ad77c07d068b8dbbc09031b2d1 [diff] |
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 <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>