summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/quota.h
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2010-03-11 12:24:45 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2010-03-11 17:17:57 +0000
commit720e7749279bde0d08684b1bb4e7a2eedeec6394 (patch)
tree894b5b4695fa6e6a7f86101bad1862a0cd623fe8 /fs/gfs2/quota.h
parent2e95e3f668c85276ce699993596d3b52b0fcf4c5 (diff)
downloadop-kernel-dev-720e7749279bde0d08684b1bb4e7a2eedeec6394.zip
op-kernel-dev-720e7749279bde0d08684b1bb4e7a2eedeec6394.tar.gz
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 <sprabhu@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/quota.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud