]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFSv4/pnfs: Layoutreturn on close must handle fatal networking errors
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 6 Apr 2025 09:05:27 +0000 (11:05 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 28 Apr 2025 03:25:44 +0000 (23:25 -0400)
commit440caf8ee2743d44ae5a6da209854188110993fa
tree6154e7cc4c25e3107ace2f5eaad365b1cc883b60
parent2d7f844ffac683dea7b1697c016e63081199383e
NFSv4/pnfs: Layoutreturn on close must handle fatal networking errors

If we have a fatal ENETDOWN or ENETUNREACH error, then the layoutreturn
on close code should also handle that as fatal, and free the layouts.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
fs/nfs/pnfs.c