diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-01-13 16:54:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 13:48:01 -0800 |
commit | c19422192bfb29a3c9ed00961f317b6f46f14923 (patch) | |
tree | a5bddb786960cd7e1e141c2af6b74f92a514a2d6 /fs/fscache | |
parent | afce3609db524d801a8fc4096810fa6844062f65 (diff) | |
download | linux-stable-c19422192bfb29a3c9ed00961f317b6f46f14923.tar.gz linux-stable-c19422192bfb29a3c9ed00961f317b6f46f14923.tar.bz2 linux-stable-c19422192bfb29a3c9ed00961f317b6f46f14923.zip |
nfs4.1: properly handle ENOTSUP in SECINFO_NO_NAME
commit 78b19bae0813bd6f921ca58490196abd101297bd upstream.
Don't check for -NFS4ERR_NOTSUPP, it's already been mapped to -ENOTSUPP
by nfs4_stat_to_errno.
This allows the client to mount v4.1 servers that don't support
SECINFO_NO_NAME by falling back to the "guess and check" method of
nfs4_find_root_sec.
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions