vfs: Keep a list of mounts on a mount point
authorEric W. Biederman <ebiederman@twitter.com>
Mon, 23 Sep 2013 02:37:01 +0000 (19:37 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:38:54 +0000 (02:38 -0400)
commit0a5eb7c8189922e86a840972cd0b57e41de6f031
treeee3f026727cff4acf5d7adbd7674d4177677f12f
parent7af1364ffa64db61e386628594836e13d2ef04b5
vfs: Keep a list of mounts on a mount point

To spot any possible problems call BUG if a mountpoint
is put when it's list of mounts is not empty.

AV: use hlist instead of list_head

Reviewed-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Eric W. Biederman <ebiederman@twitter.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/mount.h
fs/namespace.c