Re: 2.6.0-test5-mm4

From: Alistair J Strachan
Date: Mon Sep 22 2003 - 09:31:20 EST


On Monday 22 September 2003 14:48, you wrote:
> On Mon, Sep 22, 2003 at 01:17:42PM +0100, Alistair J Strachan wrote:
> > One possible explanation is that I have devfs compiled into my kernel. I
> > do not, however, have it automatically mounting on boot. It overlays /dev
> > (which is populated with original style device nodes) after INIT has
> > loaded.
>
> Amazingly idiotic typo. And yes, it gets hit only if devfs is configured.
>
> diff -u B5-real32/init/do_mounts.h B5-current/init/do_mounts.h
> --- B5-real32/init/do_mounts.h Sun Sep 21 21:22:33 2003
> +++ B5-current/init/do_mounts.h Mon Sep 22 09:41:21 2003
> @@ -53,7 +53,7 @@
> static inline u32 bstat(char *name)
> {
> struct stat64 stat;
> - if (!sys_stat64(name, &stat) != 0)
> + if (sys_stat64(name, &stat) != 0)
> return 0;
> if (!S_ISBLK(stat.st_mode))
> return 0;
> @@ -65,7 +65,7 @@
> static inline u32 bstat(char *name)
> {
> struct stat stat;
> - if (!sys_newstat(name, &stat) != 0)
> + if (sys_newstat(name, &stat) != 0)
> return 0;
> if (!S_ISBLK(stat.st_mode))
> return 0;

Thanks for that. It's working fine now.

Cheers,
Alistair.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/