alistair23-linux/fs/nfsd
NeilBrown 496400014f [PATCH] nfsd4: fix fh_expire_type
We're returning NFS4_FH_NOEXPIRE_WITH_OPEN | NFS4_FH_VOL_RENAME for the
fh_expire_type attribute.  This is incorrect:
	1. The spec actually only allows NOEXPIRE_WITH_OPEN when
	   VOLATILE_ANY is also set.
	2. Filehandles for open files can expire, if the file is removed
	   and there is a reboot.
	3. Filehandles are only volatile on rename in the nosubtree check
	   case.

Unfortunately, there's no way to indicate that we only expire on remove.  So
our only choice is FH4_VOLATILE_ANY.  Although it's redundant, we also set
FH4_VOL_RENAME in the subtree check case, since subtreecheck does actually
cause problems in practice and it seems possibly useful to give clients some
way to distinguish that case.

Fix a mispelled #define while we're at it.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-24 00:06:28 -07:00
..
auth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lockd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs2acl.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs3acl.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs3proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs3xdr.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs4acl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs4callback.c [PATCH] RPC: Make rpc_create_client() destroy the transport on failure. 2005-06-22 16:07:03 -04:00
nfs4idmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs4proc.c [PATCH] nfsd4: support CLAIM_DELEGATE_CUR 2005-06-24 00:06:28 -07:00
nfs4state.c [PATCH] nfsd4: add open state code for CLAIM_DELEGATE_CUR 2005-06-24 00:06:28 -07:00
nfs4xdr.c [PATCH] nfsd4: fix fh_expire_type 2005-06-24 00:06:28 -07:00
nfscache.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsfh.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsproc.c [PATCH] NFSD: Add NFS3ERR_NOTSUPP to the nfsd error mapping table 2005-06-22 16:07:21 -04:00
nfssvc.c [PATCH] fix nfsacl pointer arithmetic and pg_class initialization bugs 2005-06-22 16:07:27 -04:00
nfsxdr.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfs.c [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00