From: J. Bruce Fields Date: Wed, 2 Mar 2011 23:01:35 +0000 (-0500) Subject: nfsd4: fix struct file leak X-Git-Tag: v2.6.37.6~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=692f0703b01ec1d7f367a30c01f28f246bf30624;p=pandora-kernel.git nfsd4: fix struct file leak commit 0997b173609b9229ece28941c118a2a9b278796e upstream. Make sure we properly reference count the struct files that a lock depends on, and release them when the lock stateid is released. This fixes a major leak of struct files when using locking over nfsv4. Reported-by: Rick Koshi Tested-by: Ivo Přikryl Signed-off-by: J. Bruce Fields Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed