mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
vfs: mnt_parent moved to struct mount
the second victim... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
643822b41e
commit
3376f34fff
6 changed files with 30 additions and 29 deletions
|
@ -292,7 +292,7 @@ int propagate_mount_busy(struct mount *mnt, int refcnt)
|
|||
{
|
||||
struct vfsmount *m;
|
||||
struct mount *child;
|
||||
struct vfsmount *parent = mnt->mnt.mnt_parent;
|
||||
struct vfsmount *parent = mnt->mnt_parent;
|
||||
int ret = 0;
|
||||
|
||||
if (&mnt->mnt == parent)
|
||||
|
@ -322,7 +322,7 @@ int propagate_mount_busy(struct mount *mnt, int refcnt)
|
|||
*/
|
||||
static void __propagate_umount(struct mount *mnt)
|
||||
{
|
||||
struct vfsmount *parent = mnt->mnt.mnt_parent;
|
||||
struct vfsmount *parent = mnt->mnt_parent;
|
||||
struct vfsmount *m;
|
||||
|
||||
BUG_ON(parent == &mnt->mnt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue