Re: 2.6.23-rc1-mm2: Fix crash in sysfs_hash_and_remove

From: Tejun Heo
Date: Thu Aug 02 2007 - 13:34:24 EST


Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
>
> My test box crashes during suspend, while the nonboot CPUs are being disabled,
> because sysfs_hash_and_remove() doesn't check if dir_sd passed to it is not
> NULL. Fix it.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

It got broken when shadow support was added. The shadow support in -mm1
will be dropped and Eric is preparing a new version. So, this fix
probably won't be necessary from -mm2.

Thanks.

--
tejun
-
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/