projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ANDROID: sdcardfs: Add option to drop unused dentries
[GitHub/LineageOS/android_kernel_samsung_universal7580.git]
/
fs
/
sdcardfs
/
super.c
diff --git
a/fs/sdcardfs/super.c
b/fs/sdcardfs/super.c
index c9447dfdcdfb6836f9861a6f2cbba4450d661f4a..16957cf5758bf269cd02bb02c072497e527dffea 100644
(file)
--- a/
fs/sdcardfs/super.c
+++ b/
fs/sdcardfs/super.c
@@
-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;
};