Skip to content
Commit 0ad30ff6 authored by Vasily Averin's avatar Vasily Averin Committed by J. Bruce Fields
Browse files

nfs: fixed broken compilation in nfs_callback_up_net()



Patch fixes compilation error in nfs_callback_up_net()
serv->sv_bc_enabled is defined under enabled CONFIG_SUNRPC_BACKCHANNEL,
however nfs_callback_up_net() can access it even if this config option
was not set.

Fixes: a289ce53 (sunrpc: replace svc_serv->sv_bc_xprt by boolean flag)
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarVasily Averin <vvs@virtuozzo.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 91bd2ffa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment