linux/fs/nfsd
J. Bruce Fields d29b20cd58 nfsd4: clean up open owners on OPEN failure
If process_open1() creates a new open owner, but the open later fails,
the current code will leave the open owner around.  It won't be on the
close_lru list, and the client isn't expected to send a CLOSE, so it
will hang around as long as the client does.

Similarly, if process_open1() removes an existing open owner from the
close lru, anticipating that an open owner that previously had no
associated stateid's now will, but the open subsequently fails, then
we'll again be left with the same leak.

Fix both problems.

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2011-10-17 17:33:57 -04:00
..
Kconfig nfsd: Remove deprecated nfsctl system call and related code. 2011-07-15 18:58:42 -04:00
Makefile
acl.h
auth.c
auth.h
cache.h nfsd: turn on reply cache for NFSv4 2011-07-18 09:39:01 -04:00
export.c NFSD: Remove the ex_pathname field from struct svc_export 2011-09-13 22:44:10 -04:00
idmap.h
lockd.c nfsd: Remove deprecated nfsctl system call and related code. 2011-07-15 18:58:42 -04:00
nfs2acl.c
nfs3acl.c
nfs3proc.c nfsd41: make sure nfs server process OPEN with EXCLUSIVE4_1 correctly 2011-04-29 20:47:52 -04:00
nfs3xdr.c Merge branch 'for-2.6.40' of git://linux-nfs.org/~bfields/linux 2011-05-29 11:21:12 -07:00
nfs4acl.c
nfs4callback.c nfsd4: move client * to nfs4_stateid, add init_stid helper 2011-09-26 17:35:25 -04:00
nfs4idmap.c
nfs4proc.c nfsd4: clean up open owners on OPEN failure 2011-10-17 17:33:57 -04:00
nfs4recover.c nfsd4: stop using nfserr_resource for transitory errors 2011-08-27 14:21:21 -04:00
nfs4state.c nfsd4: clean up open owners on OPEN failure 2011-10-17 17:33:57 -04:00
nfs4xdr.c nfsd4: typo logical vs bitwise negate 2011-10-17 08:35:09 -04:00
nfscache.c nfsd: turn on reply cache for NFSv4 2011-07-18 09:39:01 -04:00
nfsctl.c nfsd: remove include/linux/nfsd/syscall.h 2011-08-31 11:50:11 -04:00
nfsd.h NFSD: Add a cache for fs_locations information 2011-09-13 22:44:17 -04:00
nfsfh.c nfsd: clean up nfsd_mode_check() 2011-08-26 18:22:48 -04:00
nfsfh.h
nfsproc.c
nfssvc.c nfsd: turn on reply cache for NFSv4 2011-07-18 09:39:01 -04:00
nfsxdr.c
state.h nfsd4: clean up open owners on OPEN failure 2011-10-17 17:33:57 -04:00
stats.c treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
vfs.c NFSD: Add a cache for fs_locations information 2011-09-13 22:44:17 -04:00
vfs.h nfsd: prettify NFSD_MAY_* flag definitions 2011-08-27 14:20:21 -04:00
xdr.h
xdr3.h
xdr4.h nfsd4: clean up open owners on OPEN failure 2011-10-17 17:33:57 -04:00