Revert "ANDROID: mnt: Add filesystem private data to mount points"

This reverts commit 8e31748d2c
(change Ie769d7b3bb2f5972afe05c1bf16cf88c91647ab2).

This is no longer needed because the only user of vfsmount::data was
sdcardfs, and sdcardfs has now been removed.

Bug: 157700134
Change-Id: I1af6d917288e80b8fec5abcb27bd896078cecf30
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Eric Biggers
2020-08-07 10:00:28 -07:00
committed by Greg Kroah-Hartman
parent 87b919b2a2
commit fe0d068d7c
5 changed files with 1 additions and 49 deletions

View File

@@ -600,19 +600,3 @@ int propagate_umount(struct list_head *list)
return 0;
}
void propagate_remount(struct mount *mnt)
{
struct mount *parent = mnt->mnt_parent;
struct mount *p = mnt, *m;
struct super_block *sb = mnt->mnt.mnt_sb;
if (!sb->s_op->copy_mnt_data)
return;
for (p = propagation_next(parent, parent); p;
p = propagation_next(p, parent)) {
m = __lookup_mnt(&p->mnt, mnt->mnt_mountpoint);
if (m)
sb->s_op->copy_mnt_data(m->mnt.data, mnt->mnt.data);
}
}