From: Sachin Prabhu Date: Thu, 11 Mar 2010 17:24:45 +0000 (-0500) Subject: GFS2: Skip check for mandatory locks when unlocking X-Git-Tag: v2.6.34-rc2~55^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720e7749279bde0d08684b1bb4e7a2eedeec6394;p=pandora-kernel.git GFS2: Skip check for mandatory locks when unlocking gfs2_lock() will skip locks on file which have mode set to 02666. This is a problem in cases where the mode of the file is changed after a process has obtained a lock on the file. Such a lock will be skipped and will result in a BUG in locks_remove_flock(). gfs2_lock() should skip the check for mandatory locks when unlocking a file. Signed-off-by: Sachin Prabhu Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed