linux/fs/nfsd
J. Bruce Fields fb553c0f17 [PATCH] nfsd4: don't create on open that fails due to ERR_GRACE
In an earlier patch (commit b648330a1d) I noted
that a too-early grace-period check was preventing us from bumping the
sequence id on open.  Unfortunately in that patch I stupidly moved the
grace-period check back too far, so now an open for create can succesfully
create the file while still returning ERR_GRACE.

The correct place for that check is after we've set the open_owner and handled
any replays, but before we actually start mucking with the filesystem.

Thanks to Avishay Traeger for reporting the bug.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-18 19:20:26 -08:00
..
auth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
lockd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] knfsd: nfsd4: reboot hash 2005-06-24 00:06:33 -07:00
nfs2acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3proc.c [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
nfs3xdr.c [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
nfs4acl.c [PATCH] knfsd: nfsd4: make needlessly global code static 2005-06-24 00:06:33 -07:00
nfs4callback.c SUNRPC: get rid of cl_chatty 2006-01-06 14:58:56 -05:00
nfs4idmap.c [PATCH] sunrpc: cache_register can use wrong module reference 2005-09-07 16:57:25 -07:00
nfs4proc.c [PATCH] nfsd4: don't create on open that fails due to ERR_GRACE 2006-01-18 19:20:26 -08:00
nfs4recover.c [PATCH] nfsd4: recovery lookup dir check 2006-01-18 19:20:26 -08:00
nfs4state.c [PATCH] nfsd4: don't create on open that fails due to ERR_GRACE 2006-01-18 19:20:26 -08:00
nfs4xdr.c [PATCH] nfsd4: rename lk_stateowner 2006-01-18 19:20:24 -08:00
nfscache.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
nfsctl.c [PATCH] knfsd: Allow run-time selection of NFS versions to export 2005-11-07 07:53:48 -08: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] knfsd: make sure svc_process call the correct pg_authenticate for multi-service port 2005-11-07 07:53:49 -08:00
nfsxdr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfs.c [PATCH] nfsd: remove inline from a couple of large NFS functions 2006-01-18 19:20:24 -08:00