diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-16 20:12:38 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-09-19 08:39:34 -0400 |
commit | f7a4d872078a5e143d88adb561627f637046b05a (patch) | |
tree | 9a61699ca2705a48a46e5c276f587f1825dd27a0 /fs/namespace.c | |
parent | d3b313a463c64c54d57c6af09c4a5d20106c1d1c (diff) |
nfsd4: hash closed stateid's like any other
Look up closed stateid's in the stateid hash like any other stateid
rather than searching the close lru.
This is simpler, and fixes a bug: currently we handle only the case of a
close that is the last close for a given stateowner, but not the case of
a close for a stateowner that still has active opens on other files.
Thus in a case like:
open(owner, file1)
open(owner, file2)
close(owner, file2)
close(owner, file2)
the final close won't be recognized as a retransmission.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions