From: Florin Malita Subject: Mountpoint lookup Date: 05 Feb 2003 17:02:01 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <1044457119.23738.131.camel@zed.malinux.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-83QfN+dWYNqGgg59aFvU" Return-path: To: linux-fsdevel@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --=-83QfN+dWYNqGgg59aFvU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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, =20 --=20 Florin Malita web: http://www.malinux.net public key: http://www.malinux.net/data/fmalita.gpg --=-83QfN+dWYNqGgg59aFvU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA+QSaf9npXhj/Ohf8RAqSpAKCp2pmN5k/GJt4NFHsXetM3uOMtBACdHtGq I+aC+VRnd1qLx7IpyxKzeQo= =iwY7 -----END PGP SIGNATURE----- --=-83QfN+dWYNqGgg59aFvU--