aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2006-05-07 23:02:42 -0400
committerLinus Torvalds <[email protected]>2006-05-08 08:07:17 -0700
commit75dff55af9a989293e9f9bacf049858f4262bc08 (patch)
tree0de0ec3f7910ef24201ae2eaf3c3f4ae4cfcb7f7 /net/lapb/lapb_timer.c
parent9d21f09ca03d1142f1988001f228d02581d8986c (diff)
[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 <[email protected]> Also fix a slab leak in __setlease() due to an uninitialised return value. Problem diagnosed by Björn Steinbrink. Signed-off-by: Trond Myklebust <[email protected]> Tested-by: Daniel Hokka Zakrisson <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions