diff options
author | Weston Andros Adamson <dros@primarydata.com> | 2014-01-13 16:54:45 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-01-13 17:29:47 -0500 |
commit | 78b19bae0813bd6f921ca58490196abd101297bd (patch) | |
tree | b33a5b9054c4b11822557543a0c323df420b89e4 /fs/nfs/direct.c | |
parent | 71244d9bdf185e5bba1473254241f9f65d4dd0d8 (diff) | |
download | lwn-78b19bae0813bd6f921ca58490196abd101297bd.tar.gz lwn-78b19bae0813bd6f921ca58490196abd101297bd.zip |
nfs4.1: properly handle ENOTSUP in SECINFO_NO_NAME
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>
Cc: stable@vger.kernel.org # 3.1+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions