linux-uconsole/fs/nfs/flexfilelayout
Trond Myklebust 603e7497bf pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
commit 8e04fdfadd upstream.

mirror->mirror_ds can be NULL if uninitialised, but can contain
a PTR_ERR() if call to GETDEVICEINFO failed.

Fixes: 65990d1afb ("pNFS/flexfiles: Fix a deadlock on LAYOUTGET")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # 4.10+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-26 09:14:22 +02:00
..
flexfilelayout.c flexfiles: enforce per-mirror stateid only for v4 DSes 2018-12-17 09:24:41 +01:00
flexfilelayout.h flexfiles: use per-mirror specified stateid for IO 2018-12-13 09:16:14 +01:00
flexfilelayoutdev.c pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error 2019-07-26 09:14:22 +02:00
Makefile