diff options
| author | Weston Andros Adamson <[email protected]> | 2017-03-09 17:56:48 +0000 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2017-03-17 20:07:10 +0000 |
| commit | a33e4b036d4612f62220f37a9fa29d273b6fd0ca (patch) | |
| tree | 0a2fea5fc5a56cd582b8a337e33cbbbbfbe9cc10 /net/unix/af_unix.c | |
| parent | NFSv4.1 respect server's max size in CREATE_SESSION (diff) | |
| download | kernel-a33e4b036d4612f62220f37a9fa29d273b6fd0ca.tar.gz kernel-a33e4b036d4612f62220f37a9fa29d273b6fd0ca.zip | |
pNFS: return status from nfs4_pnfs_ds_connect
The nfs4_pnfs_ds_connect path can call rpc_create which can fail or it
can wait on another context to reach the same failure.
This checks that the rpc_create succeeded and returns the error to the
caller.
When an error is returned, both the files and flexfiles layouts will return
NULL from _prepare_ds(). The flexfiles layout will also return the layout
with the error NFS4ERR_NXIO.
Signed-off-by: Weston Andros Adamson <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
