summaryrefslogtreecommitdiff
path: root/drivers/net/can/at91_can.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-10-31 01:31:16 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-31 04:08:15 +0300
commitfcf744a96c66ca6ad7301a372034b771e57f30c4 (patch)
tree4d4094cb2e04b391bd11eedf1466245dc8403704 /drivers/net/can/at91_can.c
parent05fa3135fdc7b9b510b502a35b6b97d2b38c6f48 (diff)
downloadlinux-fcf744a96c66ca6ad7301a372034b771e57f30c4.tar.xz
nfsd4: initialize delegation pointer to lease
The NFSv4 server was initializing the dp->dl_flock pointer by the somewhat ridiculous method of a locks_copy_lock callback. Now that setlease uses the passed-in lock instead of doing a copy, dl_flock no longer gets set, resulting in the lock leaking on delegation release, and later possible hangs (among other problems). So, initialize dl_flock and get rid of the callback. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/can/at91_can.c')
0 files changed, 0 insertions, 0 deletions