summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-05-08 05:02:42 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-05-08 17:07:17 +0200
commit75dff55af9a989293e9f9bacf049858f4262bc08 (patch)
tree0de0ec3f7910ef24201ae2eaf3c3f4ae4cfcb7f7 /drivers
parentMerge master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadlinux-75dff55af9a989293e9f9bacf049858f4262bc08.tar.xz
linux-75dff55af9a989293e9f9bacf049858f4262bc08.zip
[PATCH] fs/locks.c: Fix lease_init
It is insane to be giving lease_init() the task of freeing the lock it is supposed to initialise, given that the lock is not guaranteed to be allocated on the stack. This causes lockups in fcntl_setlease(). Problem diagnosed by Daniel Hokka Zakrisson <daniel@hozac.com> Also fix a slab leak in __setlease() due to an uninitialised return value. Problem diagnosed by Björn Steinbrink. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Tested-by: Daniel Hokka Zakrisson <daniel@hozac.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions