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 --
| Tony Lindgren | [PATCH 26/90] ARM: OMAP: abstract debug card setup (smc, leds) |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jesper Juhl | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
