summaryrefslogtreecommitdiff
path: root/fs/afs/yfsclient.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-06-15 10:39:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-23 15:41:23 +0300
commit0498165c6fec26fb1832cea2f45e05913efacf4b (patch)
treee39899fa1069b53e069221ff638e210b49167545 /fs/afs/yfsclient.c
parent2a3f74ca167e3645258e36cfac809b8c41102513 (diff)
downloadlinux-0498165c6fec26fb1832cea2f45e05913efacf4b.tar.xz
afs: Fix an IS_ERR() vs NULL check
[ Upstream commit a33d62662d275cee22888fa7760fe09d5b9cd1f9 ] The proc_symlink() function returns NULL on error, it doesn't return error pointers. Fixes: 5b86d4ff5dce ("afs: Implement network namespacing") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-afs@lists.infradead.org Link: https://lore.kernel.org/r/YLjMRKX40pTrJvgf@mwanda/ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/afs/yfsclient.c')
0 files changed, 0 insertions, 0 deletions