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:
committed by
Greg Kroah-Hartman
parent
87b919b2a2
commit
fe0d068d7c
16
fs/pnode.c
16
fs/pnode.c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user