On Thu, 2008-05-01 at 10:08 +0200, Miklos Szeredi wrote:I was trying to stay out of it a bit, since you both have very good points. :) But, from a purely aesthetic point of view, I like the patches. They do make r/o mount detection less error-prone in coding. They also remove more code than they add. I also certainly understand Al's point about why it puts vfsmounts in a place where they probably shouldn't be exposed. Is there a way we could pass around a vfs-internal object to these things? Maybe something that is like an opaque token only known to the vfs? linux/mount.h: struct hidden_mount; fs/namespace.c: struct hidden_mount { struct vfsmount *mnt; }; int mnt_want_write(struct hidden_mount *hidmnt) { return __mnt_want_write(hidmnt->mnt); } We could have *that* passed down the way that you're currently passing the vfsmount. -- Dave -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
| Chodorenko Michail | PROBLEM: Celeron Core |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Johannes Schindelin | Re: Empty directories... |
| Jakub Narebski | Re: VCS comparison table |
| Sam Song | Re: Fwd: [OT] Re: Git via a proxy server? |
| J.W. Zondag | Dell PE1950 III - Perc 6i |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Anselm R. Garbe | OpenBSD 4.0 / Xorg -> vesa 1920x1200 widescreen resolution |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Anselm Lingnau | File creation date in UNIX (was: Re: VMS) |
| Rafal Kustra (summer student) | mount |
| Nicholas Yue | Re: more on 486/33 weirdness |
