On Tue, Oct 15, 2013 at 09:57:55AM +0300, Benny Halevy wrote: > In the out_free: path, the newly allocated stid must be removed rather > than unhashed so it can never be found. Applying, thanks.--b. > > Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxxxxxx> > --- > fs/nfsd/nfs4state.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c > index 64c167f..b8f3c7e 100644 > --- a/fs/nfsd/nfs4state.c > +++ b/fs/nfsd/nfs4state.c > @@ -3157,7 +3157,7 @@ static void nfsd4_open_deleg_none_ext(struct nfsd4_open *open, int status) > open->op_delegate_type = NFS4_OPEN_DELEGATE_READ; > return; > out_free: > - unhash_stid(&dp->dl_stid); > + remove_stid(&dp->dl_stid); > nfs4_put_delegation(dp); > out_no_deleg: > open->op_delegate_type = NFS4_OPEN_DELEGATE_NONE; > -- > 1.8.3.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html