diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2019-10-15 16:11:41 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-10-15 16:11:41 +0200 |
commit | 3f22c7467136adfa6d2a7baf7cd5c573f0641bd1 (patch) | |
tree | f5b1f84e894ec982e4d554b7169fed2d8cd698e5 /fs/fuse/virtio_fs.c | |
parent | 112e72373d1f60f1e4558d0a7f0de5da39a1224d (diff) | |
download | linux-3f22c7467136adfa6d2a7baf7cd5c573f0641bd1.tar.bz2 |
virtio-fs: don't show mount options
Virtio-fs does not accept any mount options, so it's confusing and wrong to
show any in /proc/mounts.
Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/virtio_fs.c')
-rw-r--r-- | fs/fuse/virtio_fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c index 6af3f131e468..e22a0c003c3d 100644 --- a/fs/fuse/virtio_fs.c +++ b/fs/fuse/virtio_fs.c @@ -992,6 +992,7 @@ static int virtio_fs_fill_super(struct super_block *sb) .destroy = true, .no_control = true, .no_force_umount = true, + .no_mount_options = true, }; mutex_lock(&virtio_fs_mutex); |