OSDN Git Service

ANDROID: sdcardfs: Use d_invalidate instead of drop_recurisve
authorDaniel Rosenberg <drosen@google.com>
Thu, 9 Mar 2017 01:45:46 +0000 (17:45 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commit3752423347e782564b1be73e17498e3c7de6ad80
tree487f87924bdbe83a7a8fbb5a4faf83e15e9d21ae
parent802e520775222c039f4832bbcf950a11a5b96536
ANDROID: sdcardfs: Use d_invalidate instead of drop_recurisve

drop_recursive did not properly remove stale dentries.
Instead, we use the vfs's d_invalidate, which does the proper cleanup.

Additionally, remove the no longer used drop_recursive, and
fixup_top_recursive that that are no longer used.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: Ibff61b0c34b725b024a050169047a415bc90f0d8
fs/sdcardfs/derived_perm.c
fs/sdcardfs/inode.c
fs/sdcardfs/sdcardfs.h