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/fuse_i.h | |
parent | virtio-fs: Change module name to virtiofs.ko (diff) | |
download | linux-3f22c7467136adfa6d2a7baf7cd5c573f0641bd1.tar.xz linux-3f22c7467136adfa6d2a7baf7cd5c573f0641bd1.zip |
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/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 956aeaf961ae..d148188cfca4 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -479,6 +479,7 @@ struct fuse_fs_context { bool destroy:1; bool no_control:1; bool no_force_umount:1; + bool no_mount_options:1; unsigned int max_read; unsigned int blksize; const char *subtype; @@ -713,6 +714,9 @@ struct fuse_conn { /** Do not allow MNT_FORCE umount */ unsigned int no_force_umount:1; + /* Do not show mount options */ + unsigned int no_mount_options:1; + /** The number of requests waiting for completion */ atomic_t num_waiting; |