Re: [PATCH] cpumask_t

Brad Heilbrun (bheilbrun@paypal.com)
Fri, 9 Aug 2002 03:10:04 -0700


On Fri, Aug 09, 2002 at 04:04:12PM +1000, Rusty Russell wrote:
> diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .28255-2.5.30-cpumask.pre/fs/partitions/check.c .28255-2.5.30-cpumask/fs/partitions/check.c
> --- .28255-2.5.30-cpumask.pre/fs/partitions/check.c 2002-08-02 11:15:09.000000000 +1000
> +++ .28255-2.5.30-cpumask/fs/partitions/check.c 2002-08-09 15:54:25.000000000 +1000
> @@ -467,7 +467,7 @@ void devfs_register_partitions (struct g
> for (part = 1; part < max_p; part++) {
> if ( unregister || (p[part].nr_sects < 1) ) {
> devfs_unregister(p[part].de);
> - dev->part[p].de = NULL;
> + dev->part[part].de = NULL;
> continue;
> }
> devfs_register_partition (dev, minor, part);

The above seems unrelated to cpumask_t. Also the current BK tree
lists the fix as:

--- a/fs/partitions/check.c Thu Aug 1 13:38:40 2002
+++ b/fs/partitions/check.c Sat Aug 3 10:11:58 2002
@@ -467,7 +467,7 @@
for (part = 1; part < max_p; part++) {
if ( unregister || (p[part].nr_sects < 1) ) {
devfs_unregister(p[part].de);
- dev->part[p].de = NULL;
+ p[part].de = NULL;
continue;
}
devfs_register_partition (dev, minor, part);

-- 
Brad Heilbrun
-
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/