mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Multimount block devices
@ 2005-07-22 13:40 Jan Engelhardt
  2005-11-26  4:38 ` Coywolf Qi Hunt
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2005-07-22 13:40 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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.


Jan Engelhardt
-- 
| Alphagate Systems, http://alphagate.hopto.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multimount block devices
  2005-07-22 13:40 Multimount block devices Jan Engelhardt
@ 2005-11-26  4:38 ` Coywolf Qi Hunt
  0 siblings, 0 replies; 2+ messages in thread
From: Coywolf Qi Hunt @ 2005-11-26  4:38 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Linux Kernel Mailing List

2005/7/22, Jan Engelhardt <jengelh@linux01.gwdg.de>:
> 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-26  4:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 13:40 Multimount block devices Jan Engelhardt
2005-11-26  4:38 ` Coywolf Qi Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®