提交 fdc6e2c8 编写于 作者: C Chuck Lever 提交者: Trond Myklebust

NFS: Return a real error code from mount(2)

Don't filter the return code from the in-kernel rpcbind or NFS mount
clients.  Return the real error code so that callers of the new NFS
text-based mount API can apply a useful retry strategy.
Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 fdb66ff4
......@@ -1166,7 +1166,7 @@ static int nfs_validate_mount_data(struct nfs_mount_data **options,
status = nfs_try_mount(&args, mntfh);
if (status)
return -EINVAL;
return status;
/*
* Translate to nfs_mount_data, which nfs_fill_super
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册