linux-stable/fs/afs
Dan Carpenter 6b907d1a1e afs: Fix an IS_ERR() vs NULL check
[ Upstream commit a33d62662d ]

The proc_symlink() function returns NULL on error, it doesn't return
error pointers.

Fixes: 5b86d4ff5d ("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>
2021-06-30 08:48:14 -04:00
..
addr_list.c Merge branch 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-06-16 16:32:04 +09:00
afs.h
afs_cm.h
afs_fs.h
afs_vl.h
cache.c
callback.c afs: Fix lock-wait/callback-break double locking 2020-01-27 14:50:49 +01:00
cell.c afs: Fix characters allowed into cell names 2020-01-29 16:43:18 +01:00
cmservice.c afs: Fix the CB.ProbeUuid service handler to reply correctly 2019-09-06 10:21:54 +02:00
dir.c afs: Only update d_fsdata if different in afs_d_revalidate() 2019-09-06 10:21:55 +02:00
dir_edit.c afs: Remove set but not used variables 'before', 'after' 2020-01-27 14:51:22 +01:00
dynroot.c afs: Fix NULL deref in afs_dynroot_depopulate() 2020-08-26 10:31:05 +02:00
file.c afs: Fix key leak in afs_release() and afs_evict_inode() 2020-01-27 14:50:48 +01:00
flock.c afs: Fix lock-wait/callback-break double locking 2020-01-27 14:50:49 +01:00
fsclient.c Merge branch 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-06-16 16:32:04 +09:00
inode.c afs: Don't invalidate callback if AFS_VNODE_DIR_VALID not set 2020-01-27 14:50:49 +01:00
internal.h afs: Fix uninitialised spinlock afs_volume::cb_break_lock 2019-07-21 09:03:06 +02:00
Kconfig
main.c afs: Fix an IS_ERR() vs NULL check 2021-06-30 08:48:14 -04:00
Makefile
misc.c
mntpt.c
netdevices.c
proc.c afs: Fix memory leak in afs_put_sysnames() 2020-06-25 15:33:04 +02:00
rotate.c
rxrpc.c afs: Fix some tracing details 2020-04-02 15:28:19 +02:00
security.c afs: Fix double inc of vnode->cb_break 2020-01-27 14:50:49 +01:00
server.c afs: Fix afs_find_server lookups for ipv4 peers 2020-01-09 10:18:55 +01:00
server_list.c
super.c afs: Fix large file support 2020-01-27 14:51:20 +01:00
vlclient.c afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u() 2019-09-06 10:21:54 +02:00
volume.c afs: Fix uninitialised spinlock afs_volume::cb_break_lock 2019-07-21 09:03:06 +02:00
write.c afs: afs_write_end() should change i_size under the right lock 2020-06-25 15:33:06 +02:00
xattr.c afs: Fix the afs.cell and afs.volume xattr handlers 2020-01-27 14:50:45 +01:00
xdr_fs.h