afs: Fix an IS_ERR() vs NULL check
The proc_symlink() function returns NULL on error, it doesn't return error pointers. Fixes: 5b86d4ff ("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>
parent
009c9aa5
Please register or sign in to comment