From: Jeff Layton Date: Fri, 22 Aug 2014 14:18:45 +0000 (-0400) Subject: locks: generic_delete_lease doesn't need a file_lock at all X-Git-Tag: fixes-against-v3.18-rc2~119^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0efaa7e82f02fe69c05ad28e905f31fc86e6f08e;p=pandora-kernel.git locks: generic_delete_lease doesn't need a file_lock at all Ensure that it's OK to pass in a NULL file_lock double pointer on a F_UNLCK request and convert the vfs_setlease F_UNLCK callers to do just that. Finally, turn the BUG_ON in generic_setlease into a WARN_ON_ONCE with an error return. That's a problem we can handle without crashing the box if it occurs. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed