• Miklos Szeredi's avatar
    virtiofs: fix userns · 0a7419c6
    Miklos Szeredi authored
    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: default avatarMiklos Szeredi <mszeredi@redhat.com>
    0a7419c6
virtio_fs.c 37.3 KB