Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: don't take extra target inode reference in ll_link
For the life of me, I can't figure out where this reference is ever put. We usually take a reference like this when there is an Inode ** parameter that we'll return to the caller. ll_link doesn't have one of those, so as best I can tell this reference is just leaked. Zheng however says that FUSE will eventually put this reference via ll_forget. I still don't quite get how that works, but the other callers clearly do not handle this correctly. Change the code to only make the fuse code take this extra reference. Signed-off-by: Jeff Layton <jlayton@redhat.com>
- Loading branch information