From ab3bfaa2cca8ffcc9df56e41ebd82ba2837f040c Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Sat, 7 Sep 2002 03:03:44 -0700 Subject: [PATCH] (5/25) Removing bogus arrays - ->flags[] Seeing that now disk->flags[] always consists of one element, we replace char *flags with int flags, remove the junk from places that used to allocate these "arrays" and do obvious updates of the code (s/->flags[0]/->flags/). --- include/linux/genhd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/genhd.h b/include/linux/genhd.h index dcff86342667..aa2f694ceb1a 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -81,7 +81,7 @@ struct gendisk { devfs_handle_t *de_arr; /* one per physical disc */ struct device **driverfs_dev_arr;/* support driverfs hierarchy */ - char *flags; /* one per physical disc */ + int flags; }; /* drivers/block/genhd.c */ -- cgit v1.2.3