commit | 8e04fdfadda75a849c649f7e50fe7d97772e1fcb | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Wed Jul 17 13:57:44 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Jul 18 14:43:52 2019 -0400 |
tree | 83b3e8539189ad81a5f756e94ae7e3f2dbc8c76a | |
parent | d9aba2b40de6fddd83f2fe3a5ac2bcd2c98fa66b [diff] |
pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error mirror->mirror_ds can be NULL if uninitialised, but can contain a PTR_ERR() if call to GETDEVICEINFO failed. Fixes: 65990d1afbd2 ("pNFS/flexfiles: Fix a deadlock on LAYOUTGET") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Cc: stable@vger.kernel.org # 4.10+