diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2021-04-14 11:40:58 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-04-14 11:40:58 +0300 |
commit | 0a7419c68a45d2d066b996be5087aa2d07ce80eb (patch) | |
tree | 7877ad91378f33977d61e731751f64c8a37735d8 /fs/ubifs/tnc_commit.c | |
parent | 07595bfa24ce7e8ecef70c84fee9a2374d8c0a61 (diff) | |
download | linux-0a7419c68a45d2d066b996be5087aa2d07ce80eb.tar.xz |
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>
Diffstat (limited to 'fs/ubifs/tnc_commit.c')
0 files changed, 0 insertions, 0 deletions