Why is it that in fs/nfsd/vfs.c only vfs_mknod() and vfs_rename() are surrounded by mnt_want_write/mnt_drop_write, and not the other operations (vfs_create, vfs_mkdir, vfs_symlink, ...)? I noticed this while looking at the AppArmor patches, which need to pass the vfsmount down to the security module. And I'm wondering, why can't mnt_want_write() and mnt_drop_write() be done _inside_ vfs_foo()? I know there are a few cases, where filesystems call vfs_foo() internally, where the vfsmount isn't available, but I think the proper solution is just to fix those places, and not recurse back into the VFS (which is AFAICS in all those cases totally unnecessary anyway). This would make everybody happy, no? Miklos --
| Mike Galbraith | Re: regression: CD burning (k3b) went broke |
| Andi Kleen | [PATCH] [3/22] x86_64: Kill temp boot pmds |
| Alan Cox | Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...? |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
git: | |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 05/37] dccp: Cleanup routines for feature negotiation |
| Brandeburg, Jesse | RE: [PATCH] e1000e: test MSI interrupts |
