diff options
author | Weston Andros Adamson <dros@monkey.org> | 2017-03-09 12:56:48 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-03-17 16:07:10 -0400 |
commit | a33e4b036d4612f62220f37a9fa29d273b6fd0ca (patch) | |
tree | 0a2fea5fc5a56cd582b8a337e33cbbbbfbe9cc10 /drivers/sfi | |
parent | 033853325fe3bdc70819a8b97915bd3bca41d3af (diff) | |
download | linux-stable-a33e4b036d4612f62220f37a9fa29d273b6fd0ca.tar.gz linux-stable-a33e4b036d4612f62220f37a9fa29d273b6fd0ca.tar.bz2 linux-stable-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 <dros@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions