linux/fs/nfsd
J. Bruce Fields 0997b17360 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>
2011-03-08 19:38:27 -05:00
..
acl.h nfsd4: remove outdated pathname-comments 2011-01-04 18:22:10 -05:00
auth.c
auth.h
cache.h
export.c nfsd: kill unused macro definition 2011-03-07 12:05:09 -05:00
idmap.h nfsd4: return nfs errno from name_to_id functions 2011-01-04 18:22:11 -05:00
Kconfig
lockd.c
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c nfsd: fix offset printk's in nfsd3 read/write 2010-12-17 15:48:18 -05:00
nfs3xdr.c
nfs4acl.c nfsd4: move idmap and acl header files into fs/nfsd 2011-01-04 18:22:09 -05:00
nfs4callback.c NFSD: use nfserr for status after decode_cb_op_status 2011-02-14 10:35:18 -05:00
nfs4idmap.c nfsd: kill unused macro definition 2011-03-07 12:05:09 -05:00
nfs4proc.c nfsd41: modify the members value of nfsd4_op_flags 2011-03-07 12:10:33 -05:00
nfs4recover.c
nfs4state.c nfsd4: fix struct file leak 2011-03-08 19:38:27 -05:00
nfs4xdr.c nfsd: correctly handle return value from nfsd_map_name_to_* 2011-02-16 18:31:05 -05:00
nfscache.c
nfsctl.c nfsd: add proc file listing kernel's gss_krb5 enctypes 2011-03-07 12:06:48 -05:00
nfsd.h nfsd4: name->id mapping should fail with BADOWNER not BADNAME 2011-01-04 18:21:36 -05:00
nfsfh.c
nfsfh.h
nfsproc.c nfsd4: return nfs errno from name_to_id functions 2011-01-04 18:22:11 -05:00
nfssvc.c svcrpc: simpler request dropping 2011-01-04 16:49:22 -05:00
nfsxdr.c
state.h nfsd4: acquire only one lease per file 2011-02-14 10:35:19 -05:00
stats.c
vfs.c NFSD, VFS: Remove dead code in nfsd_rename() 2011-03-07 12:05:14 -05:00
vfs.h
xdr3.h
xdr4.h nfsd4: set sequence flag when backchannel is down 2011-01-11 15:04:10 -05:00
xdr.h