Messages in this thread | | | Date | Wed, 5 Jul 2000 11:03:35 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [patch-2.4.0-test3-p2] misc fixes. |
| |
On Fri, 30 Jun 2000, Tigran Aivazian wrote: > > c) documented the fact that for FS_SINGLE filesystems the driver must > call kern_mount() after register_filesystem(). This already confused > others (e.g. Richard Gooch) so imho it is worth pointing out. > > d) kern_mount() is supposed to be used only with FS_SINGLE filesystems but > the code doesn't enforce it. This patch makes kern_mount() fail with > EINVAL on attempt to call it on non-FS_SINGLE filesystems.
Ugh. Would it not be 100% cleaner to just do this automatically for FS_SINGLE filesystems upon register/unregister?
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |