]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFS: Shut down the nfs_client only after all the superblocks
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 25 Mar 2025 21:58:50 +0000 (17:58 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 26 Mar 2025 16:17:48 +0000 (12:17 -0400)
commit2d3e998a0bc7fe26a724f87a8ce217848040520e
treedcbcf4f7a71b3df9b84d38a77455acccf7a9b291
parentbf9be373b830a3e48117da5d89bb6145a575f880
NFS: Shut down the nfs_client only after all the superblocks

The nfs_client manages state for all the superblocks in the
"cl_superblocks" list, so it must not be shut down until all of them are
gone.

Fixes: 7d3e26a054c8 ("NFS: Cancel all existing RPC tasks when shutdown")
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/sysfs.c