Skip to content
Commit f86a4866 authored by Dan Carpenter's avatar Dan Carpenter Committed by Ilya Dryomov
Browse files

ceph: fix a NULL vs IS_ERR() check when calling ceph_lookup_inode()



The ceph_lookup_inode() function returns error pointers.  It never
returns NULL.

Fixes: aa87052d ("ceph: fix incorrectly showing the .snap size for stat")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Reviewed-by: default avatarXiubo Li <xiubli@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 3a4e894f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment