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

nfsv41: fixed type in the log message

parent 953047bf
...@@ -3,26 +3,25 @@ ...@@ -3,26 +3,25 @@
*/ */
package org.dcache.chimera.nfs.v4; package org.dcache.chimera.nfs.v4;
import org.dcache.chimera.nfs.v4.xdr.nfsstat4;
import org.dcache.chimera.nfs.v4.xdr.nfs4_prot_NFS4_PROGRAM_ServerStub;
import org.dcache.chimera.nfs.v4.xdr.nfs_resop4;
import org.dcache.chimera.nfs.v4.xdr.nfs_argop4;
import org.dcache.chimera.nfs.v4.xdr.COMPOUND4res;
import org.dcache.chimera.nfs.v4.xdr.COMPOUND4args;
import org.dcache.chimera.nfs.ChimeraNFSException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.LoggerFactory;
import org.slf4j.Logger;
import org.slf4j.MDC;
import org.dcache.chimera.FileSystemProvider; import org.dcache.chimera.FileSystemProvider;
import org.dcache.chimera.nfs.ChimeraNFSException;
import org.dcache.chimera.nfs.ExportFile; import org.dcache.chimera.nfs.ExportFile;
import org.dcache.chimera.nfs.v4.xdr.COMPOUND4args;
import org.dcache.chimera.nfs.v4.xdr.COMPOUND4res;
import org.dcache.chimera.nfs.v4.xdr.nfs4_prot_NFS4_PROGRAM_ServerStub;
import org.dcache.chimera.nfs.v4.xdr.nfs_argop4;
import org.dcache.chimera.nfs.v4.xdr.nfs_resop4;
import org.dcache.chimera.nfs.v4.xdr.nfsstat4;
import org.dcache.chimera.posix.AclHandler; import org.dcache.chimera.posix.AclHandler;
import org.dcache.xdr.OncRpcException; import org.dcache.xdr.OncRpcException;
import org.dcache.xdr.RpcCall; import org.dcache.xdr.RpcCall;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class NFSServerV41 extends nfs4_prot_NFS4_PROGRAM_ServerStub { public class NFSServerV41 extends nfs4_prot_NFS4_PROGRAM_ServerStub {
...@@ -67,7 +66,7 @@ public class NFSServerV41 extends nfs4_prot_NFS4_PROGRAM_ServerStub { ...@@ -67,7 +66,7 @@ public class NFSServerV41 extends nfs4_prot_NFS4_PROGRAM_ServerStub {
List<nfs_resop4> v = new ArrayList<nfs_resop4>(arg1.argarray.length); List<nfs_resop4> v = new ArrayList<nfs_resop4>(arg1.argarray.length);
if (arg1.minorversion.value > 1) { if (arg1.minorversion.value > 1) {
throw new ChimeraNFSException(nfsstat4.NFS4ERR_MINOR_VERS_MISMATCH, throw new ChimeraNFSException(nfsstat4.NFS4ERR_MINOR_VERS_MISMATCH,
String.format("Unsuported minor version [%d]",arg1.minorversion.value) ); String.format("Unsupported minor version [%d]",arg1.minorversion.value) );
} }
CompoundContext context = new CompoundContext(v, arg1.minorversion.value, CompoundContext context = new CompoundContext(v, arg1.minorversion.value,
......
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