commit | 0a7419c68a45d2d066b996be5087aa2d07ce80eb | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Wed Apr 14 10:40:58 2021 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Apr 14 10:40:58 2021 +0200 |
tree | 7877ad91378f33977d61e731751f64c8a37735d8 | |
parent | 07595bfa24ce7e8ecef70c84fee9a2374d8c0a61 [diff] |
virtiofs: fix userns get_user_ns() is done twice (once in virtio_fs_get_tree() and once in fuse_conn_init()), resulting in a reference leak. Also looks better to use fsc->user_ns (which *should* be the current_user_ns() at this point). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>