lkml.org 
[lkml]   [2002]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.034 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site