--- S2-pre8/fs/super.c Fri Jan 4 22:59:27 2002
+++ linux/fs/super.c Fri Jan 4 23:02:06 2002
@@ -718,6 +718,10 @@
s->s_bdev = bdev;
s->s_flags = flags;
insert_super(s, fs_type);
+ error = -ENOMEM;
+ s->s_id = kmalloc(32, GFP_KERNEL);
+ if (!s->s_id)
+ goto failed;
strncpy(s->s_id, bdevname(dev), sizeof(s->s_id));
error = -EINVAL;
if (!fs_type->read_super(s, data, flags & MS_VERBOSE ? 1 : 0))
-
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/