diff options
| author | J. Bruce Fields <[email protected]> | 2010-10-30 21:31:13 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-31 01:08:14 +0000 |
| commit | 0ceaf6c700f8245946a163e387add8675a0c302f (patch) | |
| tree | 8f1657caff93050e416503b418c11c6e6b62b781 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | drivers/media/IR/ir-keytable.c: fix binary search (diff) | |
| download | kernel-0ceaf6c700f8245946a163e387add8675a0c302f.tar.gz kernel-0ceaf6c700f8245946a163e387add8675a0c302f.zip | |
locks: prevent ENOMEM on lease unlock
Removing a lock shouldn't require any allocations; a failure due to
ENOMEM leaves the caller with a choice between retrying or giving up and
leaking an unused lease.
Next we should split the other lease calls into add and delete cases.
I wanted to start with just the bugfix.
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
