]> Git Repo - linux.git/commitdiff
ceph: show ino32 if the value is different with default
authorChengguang Xu <[email protected]>
Mon, 4 Jun 2018 08:03:51 +0000 (16:03 +0800)
committerIlya Dryomov <[email protected]>
Mon, 4 Jun 2018 18:46:02 +0000 (20:46 +0200)
In current ceph_show_options(), there is no item for showing 'ino32',
so add showing mount option 'ino32' if the value is different with
default.

Signed-off-by: Chengguang Xu <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
fs/ceph/super.c

index cec1d3343742d3725cd12c49f29810f0555bcb9b..95a3b3ac9b6e251437d978d4fc7d513d2ea59507 100644 (file)
@@ -537,6 +537,8 @@ static int ceph_show_options(struct seq_file *m, struct dentry *root)
                seq_puts(m, ",noasyncreaddir");
        if ((fsopt->flags & CEPH_MOUNT_OPT_DCACHE) == 0)
                seq_puts(m, ",nodcache");
+       if (fsopt->flags & CEPH_MOUNT_OPT_INO32)
+               seq_puts(m, ",ino32");
        if (fsopt->flags & CEPH_MOUNT_OPT_FSCACHE) {
                seq_show_option(m, "fsc", fsopt->fscache_uniq);
        }
This page took 0.056838 seconds and 4 git commands to generate.