diff options
| author | Chengguang Xu <cgxu519@gmx.com> | 2018-06-04 04:03:51 -0400 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 14:46:02 -0400 |
| commit | 3619aa8b74490fe5f803f7e71af02845aede6b5c (patch) | |
| tree | 0130746449355fe76b5de9236f9ca7a8156b8b4a | |
| parent | 8db0c7596f1258b28f32a38f2d5bbc0d63c104c9 (diff) | |
ceph: show ino32 if the value is different with default
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 <cgxu519@gmx.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
| -rw-r--r-- | fs/ceph/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index cec1d3343742..95a3b3ac9b6e 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
| @@ -537,6 +537,8 @@ static int ceph_show_options(struct seq_file *m, struct dentry *root) | |||
| 537 | seq_puts(m, ",noasyncreaddir"); | 537 | seq_puts(m, ",noasyncreaddir"); |
| 538 | if ((fsopt->flags & CEPH_MOUNT_OPT_DCACHE) == 0) | 538 | if ((fsopt->flags & CEPH_MOUNT_OPT_DCACHE) == 0) |
| 539 | seq_puts(m, ",nodcache"); | 539 | seq_puts(m, ",nodcache"); |
| 540 | if (fsopt->flags & CEPH_MOUNT_OPT_INO32) | ||
| 541 | seq_puts(m, ",ino32"); | ||
| 540 | if (fsopt->flags & CEPH_MOUNT_OPT_FSCACHE) { | 542 | if (fsopt->flags & CEPH_MOUNT_OPT_FSCACHE) { |
| 541 | seq_show_option(m, "fsc", fsopt->fscache_uniq); | 543 | seq_show_option(m, "fsc", fsopt->fscache_uniq); |
| 542 | } | 544 | } |
