From: Oleg Drokin Date: Thu, 29 Nov 2007 19:02:21 +0000 (-0500) Subject: lockd: fix a leak in nlmsvc_testlock asynchronous request handling X-Git-Tag: v2.6.25-rc1~1072^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29dbf546159f5701e11de26fa2da5c4a962e0f83;p=pandora-kernel.git lockd: fix a leak in nlmsvc_testlock asynchronous request handling Without the patch, there is a leakage of nlmblock structure refcount that holds a reference nlmfile structure, that holds a reference to struct file, when async GETFL is used (-EINPROGRESS return from file_ops->lock()), and also in some error cases. Fix up a style nit while we're here. Signed-off-by: Oleg Drokin Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed