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)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:05 +0000 (19:40 -0800)
commit3fa77a42843b9177b4406fdec003786309d5851a
treefdc9c3fed35eb651a4b48bd6cd11cfca1ede2925
parentb7aae40ab39467e3e7cb1c747af9a494481fdbc6
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