]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8767fee9ff5ff901fefecd73d143291d5cd4ac49
treef2e6b46ea8d99e05951f5691841913cc1aa2f67a
parent08daadd68d17d3f699e4dc5154e6343475749a02
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