diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-08 01:03:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 20:13:56 -0800 |
commit | bf066c7db775a04bd761f8ea206f5522d0cf40ff (patch) | |
tree | e4bfe3bdd8d98a137eaf163a26eb1153af970dfd /fs | |
parent | 4a0d11fae57989e24fe2ee3eff6d62d72db9716c (diff) | |
download | op-kernel-dev-bf066c7db775a04bd761f8ea206f5522d0cf40ff.zip op-kernel-dev-bf066c7db775a04bd761f8ea206f5522d0cf40ff.tar.gz |
[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')
-rw-r--r-- | fs/namespace.c | 2 | ||||
-rw-r--r-- | fs/pnode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index e5aa1ee..3e8fb61 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -451,7 +451,7 @@ EXPORT_SYMBOL(may_umount); void release_mounts(struct list_head *head) { struct vfsmount *mnt; - while(!list_empty(head)) { + while (!list_empty(head)) { mnt = list_entry(head->next, struct vfsmount, mnt_hash); list_del_init(&mnt->mnt_hash); if (mnt->mnt_parent != mnt) { @@ -103,7 +103,7 @@ static struct vfsmount *propagation_next(struct vfsmount *m, struct vfsmount *next; struct vfsmount *master = m->mnt_master; - if ( master == origin->mnt_master ) { + if (master == origin->mnt_master) { next = next_peer(m); return ((next == origin) ? NULL : next); } else if (m->mnt_slave.next != &master->mnt_slave_list) |