]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04d1abb9f6d1a2744db5670d5051128d15cec622
treef25bdb0dbcc79f35d95c41028e61a7e79d6b4a08
parente2a0dbe22e361d1044fd4e0f461ee3bb7d043428
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: 518171c1f895a ("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