summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-09-07 03:03:44 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-07 03:03:44 -0700
commitab3bfaa2cca8ffcc9df56e41ebd82ba2837f040c (patch)
tree5f1a29a92008b1babb9e0f248f1d41e348e3c7c1 /include/linux
parent097b3217e73bc4d67675dc19afbb4303c501c7d1 (diff)
[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/).
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/genhd.h2
1 files changed, 1 insertions, 1 deletions
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 */