kernel-hacking-2024-linux-s.../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
export.c
lockd.c
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4acl.c
nfs4callback.c SUNRPC: get rid of cl_chatty 2006-01-06 14:58:56 -05:00
nfs4idmap.c
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
nfsctl.c
nfsfh.c
nfsproc.c
nfssvc.c
nfsxdr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
stats.c
vfs.c [PATCH] nfsd: remove inline from a couple of large NFS functions 2006-01-18 19:20:24 -08:00