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.39-rc1~93^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0997b173609b9229ece28941c118a2a9b278796e;p=pandora-kernel.git nfsd4: fix struct file leak 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. Cc: stable@kernel.org Reported-by: Rick Koshi Tested-by: Ivo Přikryl Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed