Messages in this thread | | | Date | Sat, 13 Oct 2007 12:25:02 +0100 | From | Christoph Hellwig <> | Subject | Re: [patch 2/2] r/o bind mounts: Accept passing a mnt NULL pointer to mnt_drop_write() |
| |
On Fri, Oct 12, 2007 at 05:50:21PM +0200, Jan Blunck wrote: > In case of somebody opens a file with dentry_open(dentry, NULL, ...) we don't > want to stumble on the NULL pointer mnt in struct file.
We should just not allow a NULL vfsmount in dentry_open. Dave and I have fixes for reiserfs, and I'll look at the uml use.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |