Skip to content

Commit 3402351

Browse files
committed
Merge tag 'nfsd-6.2-6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Pull nfsd fix from Chuck Lever: - Fix a teardown bug in the new nfs4_file hashtable * tag 'nfsd-6.2-6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: nfsd: don't destroy global nfs4_file table in per-net shutdown
2 parents ca5ca22 + 4102db1 commit 3402351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfsd/nfs4state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8182,7 +8182,6 @@ nfs4_state_shutdown_net(struct net *net)
81828182

81838183
nfsd4_client_tracking_exit(net);
81848184
nfs4_state_destroy_net(net);
8185-
rhltable_destroy(&nfs4_file_rhltable);
81868185
#ifdef CONFIG_NFSD_V4_2_INTER_SSC
81878186
nfsd4_ssc_shutdown_umount(nn);
81888187
#endif
@@ -8192,6 +8191,7 @@ void
81928191
nfs4_state_shutdown(void)
81938192
{
81948193
nfsd4_destroy_callback_queue();
8194+
rhltable_destroy(&nfs4_file_rhltable);
81958195
}
81968196

81978197
static void

0 commit comments

Comments
 (0)