From: Marc Eshel Date: Thu, 18 Jan 2007 22:52:58 +0000 (-0500) Subject: locks: add lock cancel command X-Git-Tag: v2.6.22-rc1~818^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b9d2ab4154a42ea4a119f7d3e4e0288bfe0bb79;p=pandora-kernel.git locks: add lock cancel command Lock managers need to be able to cancel pending lock requests. In the case where the exported filesystem manages its own locks, it's not sufficient just to call posix_unblock_lock(); we need to let the filesystem know what's happening too. We do this by adding a new fcntl lock command: FL_CANCELLK. Some day this might also be made available to userspace applications that could benefit from an asynchronous locking api. Signed-off-by: Marc Eshel Signed-off-by: "J. Bruce Fields" --- Reading git-diff-tree failed