fix do_emergency_remount()/umount() races
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Mar 2010 00:11:53 +0000 (20:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 May 2010 22:31:15 +0000 (18:31 -0400)
commite7fe0585ca8793e2d43c57e77d4ca79042806acf
treea68234ce86f5ff221f3f6260374f3a6437d77ce3
parent6754af64641e8224c281ee5714e012e3ed41f701
fix do_emergency_remount()/umount() races

need list_for_each_entry_safe() here.  Original didn't even
have restart logics, so if you race with umount() it blew up.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c