• J
    svcrpc: fix bad argument in unix_domain_find · 352b5d13
    J. Bruce Fields 提交于
    "After merging the nfsd tree, today's linux-next build (powerpc
    ppc64_defconfig) produced this warning:
    
    net/sunrpc/svcauth_unix.c: In function 'unix_domain_find':
    net/sunrpc/svcauth_unix.c:58: warning: passing argument 1 of
    +'svcauth_unix_domain_release' from incompatible pointer type
    net/sunrpc/svcauth_unix.c:41: note: expected 'struct auth_domain *' but
    argument
    +is of type 'struct unix_domain *'
    
    Introduced by commit 8b3e07ac ("svcrpc: fix rare race on unix_domain
    creation")."
    Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
    352b5d13
svcauth_unix.c 22.4 KB