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>
Mon, 10 Apr 2017 07:42:16 +0000 (13:12 +0530)
commit9dea441687d6fa0cc853a5d9b242a9e57ba51c34
tree503dbd6cc310891930499062c2d7d9dc3714c054
parentd66d1e328be9c5156e2af93bf3bcf76aea0ab7aa
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