From: "Dr. David Alan Gilbert" <[email protected]> This comes from a comment by Vivek on an earlier review of lo_destroy fixes. In this pair I split unref_inode into a locked and unlocked version and use the unlocked version in lo_destroy with an outer lock. Note this does move the lo_inode_put inside the lock, but I don't think that's an issue.
Dr. David Alan Gilbert (2): virtiofsd: Rename unref_inode to indicate lock virtiofsd: Convert lo_destroy to take the lo->mutex lock itself contrib/virtiofsd/passthrough_ll.c | 45 ++++++++++++++++-------------- 1 file changed, 24 insertions(+), 21 deletions(-) -- 2.21.0
