ANDROID: sdcardfs: Add option to drop unused dentries
authorDaniel Rosenberg <drosen@google.com>
Fri, 6 Jul 2018 23:24:27 +0000 (16:24 -0700)
committerDaniel Rosenberg <drosen@google.com>
Fri, 2 Nov 2018 22:03:28 +0000 (22:03 +0000)
commit12064f3a794e67c81d2bae15606f03f436630e88
tree58b39743d7b7817f1d8a1d91ee108e0aea799691
parent4ed22187defde44f5c49a4e09e478867c84892e5
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