summaryrefslogtreecommitdiffstats
path: root/Documentation/debugging-modules.txt
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2010-03-13 16:03:55 +0100
committerEric Van Hensbergen <ericvh@gmail.com>2010-03-13 16:05:37 +0100
commitf78233dd44a110c574fe760ad6f9c1e8741a0d00 (patch)
tree5b38b76a9f7133cd6e86cecb66673b53fa93d85a /Documentation/debugging-modules.txt
parent9p: Fixes a simple bug enabling writes beyond 2GB. (diff)
downloadlinux-f78233dd44a110c574fe760ad6f9c1e8741a0d00.tar.xz
linux-f78233dd44a110c574fe760ad6f9c1e8741a0d00.zip
9p: Skip check for mandatory locks when unlocking
While investigating a bug, I came across a possible bug in v9fs. The problem is similar to the one reported for NFS by ASANO Masahiro in http://lkml.org/lkml/2005/12/21/334. v9fs_file_lock() will skip locks on file which has 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 during unlock and the machine will end up with a BUG in locks_remove_flock(). v9fs_file_lock() should skip the check for mandatory locks when unlocking a file. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions