]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fix posix lock on NFS
authorASANO Masahiro <masano@tnes.nec.co.jp>
Thu, 22 Dec 2005 04:24:54 +0000 (13:24 +0900)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 22 Dec 2005 17:24:05 +0000 (09:24 -0800)
commit0800c5f7a499a8961c3868e95cc4cf1715166457
tree609cb9c9cb8e3219722df13907527d3410ae861b
parentd6f029130fb83b36fb709a187275b0494035d689
[PATCH] fix posix lock on NFS

NFS client prevents mandatory lock, but there is a flaw on it; Locks are
possibly left if the mode is changed while locking.

This permits unlocking even if the mandatory lock bits are set.

Signed-off-by: ASANO Masahiro <masano@tnes.nec.co.jp>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/file.c