diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-29 22:12:54 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-29 22:21:16 +0300 |
commit | 3dc147359e3dcdf0648f1e2c11f62cfae3160df0 (patch) | |
tree | 1282ac36c201cdc5fab01357fe5910d234403e87 /fs/coda/Kconfig | |
parent | d138027a8256a3e9d7657c8d0dae84c08ef2cfe1 (diff) | |
download | linux-3dc147359e3dcdf0648f1e2c11f62cfae3160df0.tar.xz |
pNFS/flexfiles: Fix an Oopsable condition when connection to the DS fails
If the attempt to connect to a DS fails inside ff_layout_pg_init_read or
ff_layout_pg_init_write, then we currently end up clearing the layout
segment carried by the struct nfs_pageio_descriptor, causing an Oops
when we later call into ff_layout_read_pagelist/ff_layout_write_pagelist.
The fix is to ensure we return the layout and then retry.
Fixes: 446ca2195303 ("pNFS/flexfiles: When initing reads or writes, we...")
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/coda/Kconfig')
0 files changed, 0 insertions, 0 deletions