From: Christoph Hellwig Date: Tue, 16 Feb 2010 08:44:50 +0000 (-0500) Subject: quota: simplify permission checking X-Git-Tag: v2.6.34-rc1~192^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c988afb5fa3fc450207c3dfc0ce535f4bfdae4d1;p=pandora-kernel.git 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 Signed-off-by: Jan Kara --- Reading git-diff-tree failed