J. Bruce Fields fcf744a96c 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>
2010-10-30 18:08:15 -07:00
..
2008-02-01 16:42:05 -05:00
2010-09-27 10:16:11 -04:00
2010-10-27 21:39:39 +02:00
2007-05-09 12:30:54 -07:00
2010-07-30 12:54:54 -04:00
2010-09-21 17:02:27 -04:00
2010-10-29 04:16:28 -04:00
2010-10-11 20:00:18 -04:00
2009-12-20 20:19:51 -08:00
2010-07-30 12:54:54 -04:00
2010-10-21 10:12:02 -04:00
2010-10-25 21:18:19 -04:00
2010-07-30 12:54:54 -04:00
2010-05-13 12:03:11 -04:00