diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-22 03:59:49 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-28 00:47:46 (GMT) |
commit | 7c4b93d8269b9d35971a8239426b1f6ddc3d5ef7 (patch) | |
tree | a3309f9237f9d67af000e484bef9c19a7951750a /include | |
parent | 1a39068954e33f4bf3e09375a8112dcc801c4688 (diff) | |
download | linux-7c4b93d8269b9d35971a8239426b1f6ddc3d5ef7.tar.xz |
[PATCH] count ghost references to vfsmounts
make propagate_mount_busy() exclude references from the vfsmounts
that had been isolated by umount_tree() and are just waiting for
release_mounts() to dispose of their ->mnt_parent/->mnt_mountpoint.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index 6d3047d..dac5e67 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -61,6 +61,7 @@ struct vfsmount { atomic_t mnt_count; int mnt_expiry_mark; /* true if marked for expiry */ int mnt_pinned; + int mnt_ghosts; }; static inline struct vfsmount *mntget(struct vfsmount *mnt) |