diff options
Diffstat (limited to 'fs/pnode.c')
-rw-r--r-- | fs/pnode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/pnode.c b/fs/pnode.c index f86cd4bc31ce..6519b3b4eb15 100644 --- a/fs/pnode.c +++ b/fs/pnode.c | |||
@@ -217,18 +217,18 @@ static struct mount *get_source(struct mount *dest, | |||
217 | * @source_mnt: source mount. | 217 | * @source_mnt: source mount. |
218 | * @tree_list : list of heads of trees to be attached. | 218 | * @tree_list : list of heads of trees to be attached. |
219 | */ | 219 | */ |
220 | int propagate_mnt(struct vfsmount *dest_mnt, struct dentry *dest_dentry, | 220 | int propagate_mnt(struct mount *dest_mnt, struct dentry *dest_dentry, |
221 | struct vfsmount *source_mnt, struct list_head *tree_list) | 221 | struct mount *source_mnt, struct list_head *tree_list) |
222 | { | 222 | { |
223 | struct mount *m, *child; | 223 | struct mount *m, *child; |
224 | int ret = 0; | 224 | int ret = 0; |
225 | struct mount *prev_dest_mnt = real_mount(dest_mnt); | 225 | struct mount *prev_dest_mnt = dest_mnt; |
226 | struct mount *prev_src_mnt = real_mount(source_mnt); | 226 | struct mount *prev_src_mnt = source_mnt; |
227 | LIST_HEAD(tmp_list); | 227 | LIST_HEAD(tmp_list); |
228 | LIST_HEAD(umount_list); | 228 | LIST_HEAD(umount_list); |
229 | 229 | ||
230 | for (m = propagation_next(real_mount(dest_mnt), real_mount(dest_mnt)); m; | 230 | for (m = propagation_next(dest_mnt, dest_mnt); m; |
231 | m = propagation_next(m, real_mount(dest_mnt))) { | 231 | m = propagation_next(m, dest_mnt)) { |
232 | int type; | 232 | int type; |
233 | struct mount *source; | 233 | struct mount *source; |
234 | 234 | ||