summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-09-07 03:03:58 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-07 03:03:58 -0700
commit06f55b095f81fd6e2113911d2e983d63c6f0ac86 (patch)
tree298862d01f3936552ed9d6c5ba2025bfa03ce6c3 /include/linux
parentdb09b5fc07571729c8710696b96f708370dde976 (diff)
[PATCH] (8/25) Removing bogus arrays - ->de_arr[]
similar to ->flags and ->driverfs_dev_arr, ->de_arr[] got replaced with its (single) element + flag.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/genhd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 7ac93efcf99a..ee2d41d8bd4d 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -67,6 +67,7 @@ struct hd_struct {
#define GENHD_FL_REMOVABLE 1
#define GENHD_FL_DRIVERFS 2
+#define GENHD_FL_DEVFS 4
struct gendisk {
int major; /* major number of driver */
@@ -79,7 +80,7 @@ struct gendisk {
struct gendisk *next;
struct block_device_operations *fops;
- devfs_handle_t *de_arr; /* one per physical disc */
+ devfs_handle_t de;
struct device *driverfs_dev;
int flags;
int number; /* devfs crap */