diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-08 04:03:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:13:56 -0500 |
commit | bf066c7db775a04bd761f8ea206f5522d0cf40ff (patch) | |
tree | e4bfe3bdd8d98a137eaf163a26eb1153af970dfd /fs/namespace.c | |
parent | 4a0d11fae57989e24fe2ee3eff6d62d72db9716c (diff) |
[PATCH] shared mounts: cleanup
Small cleanups in shared mounts code.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index e5aa1eeb5748..3e8fb61ad597 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -451,7 +451,7 @@ EXPORT_SYMBOL(may_umount); | |||
451 | void release_mounts(struct list_head *head) | 451 | void release_mounts(struct list_head *head) |
452 | { | 452 | { |
453 | struct vfsmount *mnt; | 453 | struct vfsmount *mnt; |
454 | while(!list_empty(head)) { | 454 | while (!list_empty(head)) { |
455 | mnt = list_entry(head->next, struct vfsmount, mnt_hash); | 455 | mnt = list_entry(head->next, struct vfsmount, mnt_hash); |
456 | list_del_init(&mnt->mnt_hash); | 456 | list_del_init(&mnt->mnt_hash); |
457 | if (mnt->mnt_parent != mnt) { | 457 | if (mnt->mnt_parent != mnt) { |