Message ID | 20180127030640.GA16408@lkp-g5 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/fs/ceph/export.c +++ b/fs/ceph/export.c @@ -354,7 +354,7 @@ static struct dentry *ceph_get_parent(st } out: dout("get_parent %p ino %llx.%llx err=%ld\n", - child, ceph_vinop(inode), (IS_ERR(dn) ? PTR_ERR(dn) : 0)); + child, ceph_vinop(inode), PTR_ERR_OR_ZERO(dn)); return dn; }