diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-18 21:00:45 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-18 21:10:53 +0200 |
commit | de144ff4234f935bd2150108019b5d87a90a8a96 (patch) | |
tree | 233f3b8c3c2465e0561b68d30a5977fec0649929 /fs/attr.c | |
parent | NFS: Don't discard pNFS layout segments that are marked for return (diff) | |
download | linux-de144ff4234f935bd2150108019b5d87a90a8a96.tar.xz linux-de144ff4234f935bd2150108019b5d87a90a8a96.zip |
NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
If the pNFS layout segment is marked with the NFS_LSEG_LAYOUTRETURN
flag, then the assumption is that it has some reporting requirement
to perform through a layoutreturn (e.g. flexfiles layout stats or error
information).
Fixes: 6d597e175012 ("pnfs: only tear down lsegs that precede seqid in LAYOUTRETURN args")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions