From: Chengguang Xu Date: Mon, 4 Jun 2018 08:03:51 +0000 (+0800) Subject: ceph: show ino32 if the value is different with default X-Git-Tag: v4.19~777^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3619aa8b74490fe5f803f7e71af02845aede6b5c;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Ilya Dryomov Signed-off-by: Ilya Dryomov --- diff --git a/fs/ceph/super.c b/fs/ceph/super.c index cec1d33..95a3b3a 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) 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); }