ANDROID: sdcardfs: Add option to drop unused dentries
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / fs / sdcardfs / super.c
index c9447dfdcdfb6836f9861a6f2cbba4450d661f4a..16957cf5758bf269cd02bb02c072497e527dffea 100644 (file)
@@ -311,6 +311,8 @@ static int sdcardfs_show_options(struct vfsmount *mnt, struct seq_file *m,
                seq_puts(m, ",default_normal");
        if (opts->reserved_mb != 0)
                seq_printf(m, ",reserved=%uMB", opts->reserved_mb);
+       if (opts->nocache)
+               seq_printf(m, ",nocache");
 
        return 0;
 };