All of lore.kernel.org
 help / color / mirror / Atom feed
* Mountpoint lookup
@ 2003-02-05 15:02 Florin Malita
  2003-02-05 15:03 ` Christoph Hellwig
  2003-02-05 19:13 ` Andrew Sharp
  0 siblings, 2 replies; 9+ messages in thread
From: Florin Malita @ 2003-02-05 15:02 UTC (permalink / raw)
  To: linux-fsdevel

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

Is there a way of finding the mountpoint a fs is being mounted on at
read_super time?

I'm developing a userland filesystem interface (LUFS -
http://lufs.sourceforge.net) and the only way of getting the mountpoint
I found so far is to wait until I get a struct file* (in readdir for
example) and then go through its f_vfsmount, building the mountpoint
path. This is race prone.

I suspect there's some sort of Zen restriction floating around the
mountpoint (the darn fs shall not need to know its mountpoint) but I'm
relying on it for absolute symlinks remapping.

Thanks,
 
-- 
Florin Malita      web:        http://www.malinux.net
                   public key: http://www.malinux.net/data/fmalita.gpg

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-02-22 18:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 15:02 Mountpoint lookup Florin Malita
2003-02-05 15:03 ` Christoph Hellwig
     [not found]   ` <1044459408.23735.147.camel@zed.malinux.net>
     [not found]     ` <20030205154536.A21838@infradead.org>
2003-02-05 20:03       ` Florin Malita
2003-02-05 21:15         ` Bryan Henderson
2003-02-06 10:39           ` Florin Malita
2003-02-22 18:56             ` David Chow
2003-02-05 19:13 ` Andrew Sharp
2003-02-05 19:18   ` Christoph Hellwig
2003-02-05 20:06     ` Bryan Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.