pNFS/flexfiles: Check the result of nfs4_pnfs_ds_connect
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 18:33:06 +0000 (14:33 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 18:37:37 +0000 (14:37 -0400)
commit260f32adb88dadfaac29f47f761a088238ca164c
treef25bdb0dbcc79f35d95c41028e61a7e79d6b4a08
parent56e0d71ef12f026d96213e45a662bde6bbff4676
pNFS/flexfiles: Check the result of nfs4_pnfs_ds_connect

The check in nfs4_ff_layout_prepare_ds() seems to be missing.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Fixes: a33e4b036d461 ("pNFS: return status from nfs4_pnfs_ds_connect")
Cc: Weston Andros Adamson <dros@primarydata.com>
Cc: stable@vger.kernel.org # v4.11
fs/nfs/flexfilelayout/flexfilelayoutdev.c