Commit cb0eaf97 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfsv41: simplify io_info4 - use long instead of uint64_t

Acked-by: Paul Millar
Acked-by: Lea Morschel
Target: master
parent 9e42f6ec
......@@ -14,8 +14,9 @@ import org.dcache.oncrpc4j.xdr.XdrEncodingStream;
public class io_info4 implements XdrAble, {
public uint64_t ii_count;
public uint64_t ii_bytes;
public long ii_count;
public long ii_bytes;
private static final long serialVersionUID = 7002990356778538437L;
......@@ -29,14 +30,14 @@ public class io_info4 implements XdrAble, {
public void xdrEncode(XdrEncodingStream xdr)
throws OncRpcException, IOException {
public void xdrDecode(XdrDecodingStream xdr)
throws OncRpcException, IOException {
ii_count = new uint64_t(xdr);
ii_bytes = new uint64_t(xdr);
ii_count = xdr.xdrDecodeLong();
ii_bytes = xdr.xdrDecodeLong();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment