passthrough_hp: Fix inode ref in sfs_unlink
authorBernd Schubert <bschubert@ddn.com>
Tue, 22 Mar 2022 21:10:01 +0000 (22:10 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 31 Mar 2022 14:27:02 +0000 (15:27 +0100)
commitf8a24e9ec779dee3d23cd25f5bf6fc1c377e7d0a
treebaeda5639745ff0ecedfe7173e6a705e4dfd7811
parenta6a01c4a76c4c8265f7d1f0a0a9b5340b15384ab
passthrough_hp: Fix inode ref in sfs_unlink

sfs_unlink may call do_lookup(), which increases the inode ref count,
but since that function does not return attributes that lookup ref
count won't get automatically decreased.
example/passthrough_hp.cc