aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-03-02 18:01:35 -0500
committerJ. Bruce Fields <bfields@redhat.com>2011-03-08 19:38:27 -0500
commit0997b173609b9229ece28941c118a2a9b278796e (patch)
tree30d8c6f3846371b78a9339c5798dd59c60fa4a4c /net/sunrpc/svcauth_unix.c
parent529d7b2a7fa31e9f7d08bc790d232c3cbe64fa24 (diff)
downloadkernel_samsung_espresso10-0997b173609b9229ece28941c118a2a9b278796e.tar.gz
kernel_samsung_espresso10-0997b173609b9229ece28941c118a2a9b278796e.tar.bz2
kernel_samsung_espresso10-0997b173609b9229ece28941c118a2a9b278796e.zip
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 <nfs-bug-report@more-right-rudder.com> Tested-by: Ivo Přikryl <prikryl@eurosat.cz> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions