From: Olaf Kirch <okir@suse.de>
authorOlaf Kirch <okir@suse.de>
Thu, 25 Aug 2005 23:25:35 +0000 (16:25 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:37:59 +0000 (12:37 -0400)
commit449231d6ddf50ca46b7fb2f76ecf790135222913
tree0c493d7f4fb68f1f639c56258bcd025d5b904fb0
parent20509f1bc553ed7fafa88fa8d01c6212d1876d9f
From: Olaf Kirch <okir@suse.de>
[PATCH] Fix miscompare in __posix_lock_file

 If an application requests the same lock twice, the
 kernel should just leave the existing lock in place.
 Currently, it will install a second lock of the same type.

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/locks.c