Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
nfs4j
Commits
7c665709
Commit
7c665709
authored
Dec 08, 2011
by
Tigran Mkrtchyan
☕
Browse files
nfsv41: test open stateid on close
parent
2e44129d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/dcache/chimera/nfs/v4/OperationCLOSE.java
View file @
7c665709
...
...
@@ -44,6 +44,12 @@ public class OperationCLOSE extends AbstractNFSv4Operation {
if
(
context
.
getMinorversion
()
>
0
)
{
context
.
getSession
().
getClient
().
updateLeaseTime
(
NFSv4Defaults
.
NFS4_LEASE_TIME
);
/*
* for now it's just a place holder for state processing.
* Nevertheless, NFSERR_BAD_STATEID is throws if state is invalid.
*/
NFS4State
state
=
context
.
getSession
().
getClient
().
state
(
_args
.
opclose
.
open_stateid
);
try
{
context
.
getDeviceManager
().
layoutReturn
(
context
,
_args
.
opclose
.
open_stateid
);
}
catch
(
IOException
e
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment