ANDROID: sdcardfs: Add option to drop unused dentries
authorDaniel Rosenberg <drosen@google.com>
Fri, 6 Jul 2018 23:24:27 +0000 (16:24 -0700)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:46:30 +0000 (23:46 +0900)
commit96c59c011e964b02874e5d987923a06f15ef4ded
treed94631c261454275de2824c69552e818438d7ddc
parentbb9eee79e7a3cd062cb216b82c8ae9df6c11c8dc
ANDROID: sdcardfs: Add option to drop unused dentries

This adds the nocache mount option, which will cause sdcardfs to always
drop dentries that are not in use, preventing cached entries from
holding on to lower dentries, which could  cause strange behavior when
bypassing the sdcardfs layer and directly changing the lower fs.

Change-Id: I70268584a20b989ae8cfdd278a2e4fa1605217fb
Signed-off-by: Daniel Rosenberg <drosen@google.com>
fs/sdcardfs/dentry.c
fs/sdcardfs/main.c
fs/sdcardfs/sdcardfs.h
fs/sdcardfs/super.c