Re: Multimount block devices

From: Coywolf Qi Hunt
Date: Fri Nov 25 2005 - 23:52:05 EST


2005/7/22, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>:
> Hi,
>
>
> I have got a block device which I would like to mount twice using different
> filesystems. The two filesystems support this (are already patched), but
> through the function thread of mounting comes open_bdev_excl() which makes
> it impossible to do said mounts.
>
> Can anyone give me a hint on what to change to disable bdev exclusive locking
> for a given condition? Thanks.

Write your own get_sb_bdev() and open_bdev(), do not call bd_claim().
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/