diff options
| author | J. Bruce Fields <[email protected]> | 2010-10-30 21:31:16 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-31 01:08:15 +0000 |
| commit | fcf744a96c66ca6ad7301a372034b771e57f30c4 (patch) | |
| tree | 4d4094cb2e04b391bd11eedf1466245dc8403704 /tools/perf/scripts/python | |
| parent | locks: fix setlease methods to free passed-in lock (diff) | |
| download | kernel-fcf744a96c66ca6ad7301a372034b771e57f30c4.tar.gz kernel-fcf744a96c66ca6ad7301a372034b771e57f30c4.zip | |
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
