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

nfsv3: check that unmounted export exists

Acked-By: Gerd
parent d2b43ed5
......@@ -149,7 +149,9 @@ public class MountServer extends mount_protServerStub {
public void MOUNTPROC3_UMNT_3(RpcCall call$, dirpath arg1) {
Set<String> s = _mounts.get(arg1.value);
s.remove(call$.getTransport().getRemoteSocketAddress().getHostName());
if( s != null ) {
s.remove(call$.getTransport().getRemoteSocketAddress().getHostName());
}
}
@Override
......
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