Commit de71d4e2 authored by Scott Mayhew's avatar Scott Mayhew Committed by Chuck Lever
Browse files

nfsd: fix legacy client tracking initialization



Get rid of the nfsd4_legacy_tracking_ops->init() call in
check_for_legacy_methods().  That will be handled in the caller
(nfsd4_client_tracking_init()).  Otherwise, we'll wind up calling
nfsd4_legacy_tracking_ops->init() twice, and the second time we'll
trigger the BUG_ON() in nfsd4_init_recdir().

Fixes: 74fd4873 ("nfsd: new Kconfig option for legacy client tracking")
Reported-by: default avatarJur van der Burg <jur@avtware.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219580


Signed-off-by: default avatarScott Mayhew <smayhew@redhat.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Tested-by: default avatarSalvatore Bonaccorso <carnil@debian.org>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 6f035c99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment