From: Cédric Dufour - Idiap Research Institute Date: Fri, 24 Jan 2014 19:57:05 +0000 (+0100) Subject: staging: lustre: fix quotactl permission denied (LU-4530) X-Git-Tag: v3.14-rc3~12^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b9e418c013e8b671fc10108ab14243f0657bffd;p=pandora-kernel.git staging: lustre: fix quotactl permission denied (LU-4530) The changes introduced in commit 4b1a25f06b30b203 ("fix build when CONFIG_UIDGID_STRICT_TYPE_CHECKS is on") got the UID check the wrong way around, leading to "Permission denied" when a regular user attempts to retrieve his quota (lfs quota -u ...) but allowing him to retrieve other users quota. Full details at: https://jira.hpdd.intel.com/browse/LU-4530 Cc: Peng Tao Cc: # 3.12.x Cc: # 3.13.x Signed-off-by: Cédric Dufour Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed