NFSv4.1: handle NFS4ERR_NOSPC by CREATE_SESSION
authorOlga Kornievskaia <kolga@netapp.com>
Mon, 15 Nov 2021 21:30:40 +0000 (16:30 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 17 Nov 2021 23:26:31 +0000 (18:26 -0500)
commitea027cb2e1b59c76582af867b71d5c037fa6bb8e
treea9e7a1488fe228100082c58aa7337f76d2d6d9ee
parent3f015d89a47cd8855cd92f71fff770095bd885a1
NFSv4.1: handle NFS4ERR_NOSPC by CREATE_SESSION

When the client receives ERR_NOSPC on reply to CREATE_SESSION
it leads to a client hanging in nfs_wait_client_init_complete().
Instead, complete and fail the client initiation with an EIO
error which allows for the mount command to fail instead of
hanging.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4state.c