]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs - NFSv4 mounts give wrong error message when server denies the mount
authorSteve Dickson <steved@redhat.com>
Thu, 17 May 2007 00:04:19 +0000 (10:04 +1000)
committerNeil Brown <neilb@suse.de>
Thu, 17 May 2007 00:04:19 +0000 (10:04 +1000)
commit3b55934b9baefecee17aefc3ea139e261a4b03b8
tree7f142f4dce457576bc9d0d6229cf6d5e04f1f0e5
parent1cb4a250fb9f0a8ba34befa47d951430e444a58e
mount.nfs - NFSv4 mounts give wrong error message when server denies the mount

When nfs4 mount fail because the exported directory does
not exist, the mount command claims the local mount point
does not exist which is wrong. This patch fixes that problem
as well as  makes the v4 mount failures look like v3/v2 failures.

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/mount.c