From: Patrick Farrell Date: Mon, 2 Feb 2015 02:52:18 +0000 (-0500) Subject: staging/lustre/clio: Do not allow group locks with gid 0 X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=431b567856875536c7f574f30cd870d758aa6c2f;p=pandora-kernel.git staging/lustre/clio: Do not allow group locks with gid 0 When a group lock with GID=0 is released (put_grouplock is called), an assertion in cl_put_grouplock is hit. We should not allow group lock requests with GID=0, instead we should return -EINVAL. Signed-off-by: Patrick Farrell Reviewed-on: http://review.whamcloud.com/12459 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5817 Reviewed-by: Andreas Dilger Reviewed-by: frank zago Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed