Messages in this thread Patch in this message | | | Date | Fri, 4 Jan 2002 23:06:06 -0500 (EST) | From | Alexander Viro <> | Subject | [FIX] missing piece from fs/super.c in -pre8 |
| |
/me scratches head wondering how the ^*#! did it manage to disappear from the version of patch sent to Linus...
--- 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/
| |