Skip to content
GitLab
Menu
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
67f6c898
Commit
67f6c898
authored
Mar 12, 2020
by
Tigran Mkrtchyan
☕
Browse files
nfs4: fix en/decode of SETXATTR4res
Acked-by: Lea Morschel Target: master, 0.20
parent
0b38172b
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/src/main/java/org/dcache/nfs/v4/xdr/SETXATTR4res.java
View file @
67f6c898
...
...
@@ -7,6 +7,7 @@
* See http://www.dCache.ORG for details
*/
package
org.dcache.nfs.v4.xdr
;
import
org.dcache.nfs.nfsstat
;
import
org.dcache.oncrpc4j.rpc.*
;
import
org.dcache.oncrpc4j.rpc.net.*
;
import
org.dcache.oncrpc4j.xdr.*
;
...
...
@@ -27,11 +28,17 @@ public class SETXATTR4res implements XdrAble {
public
void
xdrEncode
(
XdrEncodingStream
xdr
)
throws
OncRpcException
,
IOException
{
xdr
.
xdrEncodeInt
(
sxr_status
);
if
(
sxr_status
==
nfsstat
.
NFS_OK
)
{
sxr_info
.
xdrEncode
(
xdr
);
}
}
public
void
xdrDecode
(
XdrDecodingStream
xdr
)
throws
OncRpcException
,
IOException
{
sxr_status
=
xdr
.
xdrDecodeInt
();
if
(
sxr_status
==
nfsstat
.
NFS_OK
)
{
sxr_info
=
new
change_info4
(
xdr
);
}
}
}
// End of SETXATTR4res.java
Tigran Mkrtchyan
☕
@tigran
mentioned in commit
ee839d41
·
Sep 10, 2020
mentioned in commit
ee839d41
mentioned in commit ee839d419204fdb44ed2649b92c2507a05dd5598
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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