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
..
2020-11-05 11:08:53 +01:00
2021-06-30 08:48:14 -04:00
2021-05-22 10:59:49 +02:00
2019-08-06 19:06:51 +02:00
2021-05-22 10:59:39 +02:00
2021-05-22 10:59:41 +02:00
2018-08-17 16:20:28 -07:00
2020-06-22 09:05:01 +02:00
2020-03-05 16:42:12 +01:00
2021-01-30 13:32:11 +01:00
2018-08-21 18:19:09 -07:00
2020-03-25 08:06:14 +01:00
2021-05-22 10:59:50 +02:00