From: J. Bruce Fields Date: Sat, 30 Oct 2010 21:31:13 +0000 (-0400) Subject: locks: prevent ENOMEM on lease unlock X-Git-Tag: v2.6.37-rc1~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ceaf6c700f8245946a163e387add8675a0c302f;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed