projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1dc695
)
nfsd4: don't leave freed stateid hashed
author
J. Bruce Fields
<bfields@redhat.com>
Wed, 12 Dec 2012 20:24:12 +0000
(15:24 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 18 Dec 2012 03:00:28 +0000
(22:00 -0500)
Note the stateid is hashed early on in init_stid(), but isn't currently
being unhashed on error paths.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index
8e127b3
..
ac8ed96
100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-2983,6
+2983,7
@@
out:
}
return;
out_free:
+ unhash_stid(&dp->dl_stid);
nfs4_put_delegation(dp);
out_no_deleg:
flag = NFS4_OPEN_DELEGATE_NONE;