diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-08-23 15:39:24 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:37 +0000 |
commit | fe4c15798a48143dd6b1f58d2d3cad12206ce211 (patch) | |
tree | 6b4794b93ffcd1fddb901ea6744b16c1bc528572 /tools/virtiofsd/fuse_virtio.h | |
parent | 951b3120dbc971f08681e1d860360e4a1e638902 (diff) |
virtiofsd: Convert lo_destroy to take the lo->mutex lock itself
lo_destroy was relying on some implicit knowledge of the locking;
we can avoid this if we create an unref_inode that doesn't take
the lock and then grab it for the whole of the lo_destroy.
Suggested-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tools/virtiofsd/fuse_virtio.h')
0 files changed, 0 insertions, 0 deletions