On Tue, Mar 07, 2006 at 11:08:41AM +0000, David Howells wrote: > > The attached patch fixes multiple mounts of the same blockdev-based filesystem > (such as EXT3). The problem is that the path through the function that deals > with a second mount of an already extant superblock is going out through the > error path and not the success path that sets up the vfsmount. > > The error can be checked by doing something like: > > mount /dev/hda6 /a > mount /dev/hda6 /b > > Where /dev/hda6 has something like an EXT3 filesystem on it. The second mount > should succeed, but doesn't without this patch. > > This patch is dependent on the getsb patch submitted earlier. > > Signed-Off-By: David Howells <dhowells@xxxxxxxxxx> Please, merge them in one; this one fixes a bug in ->get_sb() patch and since it wasn't merged in mainline yet, there's no reason to keep them separate.