Dan Carpenter 6b907d1a1e 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>
2021-06-30 08:48:14 -04:00
..
2018-04-09 21:53:59 +01:00
2021-06-30 08:48:14 -04:00
2018-06-15 00:52:55 -04:00
2018-02-06 14:43:37 +00:00
2020-04-02 15:28:19 +02:00
2020-01-27 14:51:20 +01:00