diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-01-04 09:47:03 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-02-06 15:37:14 -0500 |
commit | 1c3da4452d185e4be663e76a1b9842184d8f9c4c (patch) | |
tree | 1736f3e7f164c68fdf7d9cd01c2d6340da4994a6 /net/sunrpc/svc_xprt.c | |
parent | e248aa7be86e8179f20ac0931774ecd746f3f5bf (diff) | |
download | linux-1c3da4452d185e4be663e76a1b9842184d8f9c4c.tar.gz |
nfsd: fix an IS_ERR() vs NULL check
The get_backchannel_cred() used to return error pointers on error but
now it returns NULL pointers.
Fixes: 97f68c6b02e0 ("SUNRPC: add 'struct cred *' to auth_cred and rpc_cre")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions