ceph_fill_trace(): don't bother with d_instantiate(dn, NULL)
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Mar 2016 20:11:43 +0000 (15:11 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2016 04:16:06 +0000 (00:16 -0400)
commitf8b31710e46c852b2af1635d1b6fab8e69bf7799
treef2e6b46ea8d99e05951f5691841913cc1aa2f67a
parentde4acda16e11110bbba5195061789f93a6c0d29d
ceph_fill_trace(): don't bother with d_instantiate(dn, NULL)

... and use d_add(dn, NULL) in case we need to hash a negative
unhashed rather than using d_rehash() directly.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/inode.c