Re: [RFC 2/6] sysfs-mount.patch

From: viro
Date: Mon Oct 06 2003 - 08:46:36 EST


On Mon, Oct 06, 2003 at 02:30:30PM +0530, Maneesh Soni wrote:
> @@ -692,6 +693,10 @@ do_kern_mount(const char *fstype, int fl
> mnt->mnt_mountpoint = sb->s_root;
> mnt->mnt_parent = mnt;
> up_write(&sb->s_umount);
> +
> + if (!strcmp(fstype, "sysfs"))
> + sysfs_mount = mnt;
> +
> put_filesystem(type);
> return mnt;
> out_sb:

That's too ugly for words. Vetoed. Sorry, but *that* will not fly.
-
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/