aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/mq_sysctl.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-10-30 17:31:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-30 18:08:14 -0700
commit0ceaf6c700f8245946a163e387add8675a0c302f (patch)
tree8f1657caff93050e416503b418c11c6e6b62b781 /ipc/mq_sysctl.c
parent0d07025effd3da8b9c74f18448823175f4c63a73 (diff)
downloadkernel_samsung_smdk4412-0ceaf6c700f8245946a163e387add8675a0c302f.zip
kernel_samsung_smdk4412-0ceaf6c700f8245946a163e387add8675a0c302f.tar.gz
kernel_samsung_smdk4412-0ceaf6c700f8245946a163e387add8675a0c302f.tar.bz2
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 <bfields@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions