diff options
author | 2021-06-15 08:39:52 +0100 | |
---|---|---|
committer | 2021-06-15 07:42:26 -0700 | |
commit | a33d62662d275cee22888fa7760fe09d5b9cd1f9 (patch) | |
tree | 4a961598f8378f3e807fe430d8d6ba9ed9bb1c7c /net/unix/af_unix.c | |
parent | Linux 5.13-rc6 (diff) | |
download | wireguard-linux-a33d62662d275cee22888fa7760fe09d5b9cd1f9.tar.xz wireguard-linux-a33d62662d275cee22888fa7760fe09d5b9cd1f9.zip |
afs: Fix an IS_ERR() vs NULL check
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions