Date: Tue, 28 Aug 2012 13:54:55 -0700 From: Xin Li <delphij@delphij.net> To: rmacklem@FreeBSD.org, freebsd-fs@FreeBSD.ORG Subject: Why vfs_stdcheckexp is a VFS operation? Message-ID: <503D301F.5080607@delphij.net>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, We have recently run into a problem with exports(5) and I then read the code of mountd(8) as well as sys/kern/vfs_exports.c and found that vfs_stdcheckexp is a VFS operation and not a vnode operation. So for instance if one exports a mountpoint, and later changes his mind and export a directory under that mountpoint, clients that have mounted the mountpoint before the second operation will still have access. Is this intentional (e.g. for performance consideration?) Cheers, - -- Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQPTAfAAoJEG80Jeu8UPuzGykIAIBOrRNGsqgLNzIpEtqsBjKE ZSGTVLCfoAWeeOLKLuNv3yusFs1TVoIPWlr1Pnq/olQQWaShj7iFQioKQSQtMfJC xBJrn1IRGaYqR31VzxZ4KWof5QU+1hAgyxLnoZaHqYiNTIQWz2G0LYKs9QdQmyZ2 IP5WXtGVXi6U1VClIpr6GzMebGMGObQqlpzqN23EEmUjIIML1lWX/3vNqXjp7WsH pcalf7PdthnKINn7IWcfLcmJydWQz4lihs/sm5oT9KwnlQtryH3pTa1C5qHP4vK2 lIPc6jAhr9X0tY28YzBPRHej9ChVm61Qrkudeg7fGZ7arKFRDDG/h1TbJDEdCOw= =42qZ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503D301F.5080607>