summaryrefslogtreecommitdiff
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-10-28 02:50:34 -0800
committerJames Bottomley <jejb@mulgrave.(none)>2002-10-28 02:50:34 -0800
commit4d466c1fcdceecf5f0e13894fd4805db768122c8 (patch)
treec83d7dfd80ff347b78c62e1be9ff8c12a255476f /include/linux/genhd.h
parent1bec5152a23e778ddafe587bdf9736a69346e633 (diff)
[PATCH] r/o state moved to gendisks
Diffstat (limited to 'include/linux/genhd.h')
-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 06ecbd84499a..2b0ab92e65db 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -63,6 +63,7 @@ struct hd_struct {
sector_t nr_sects;
devfs_handle_t de; /* primary (master) devfs entry */
struct device *hd_driverfs_dev; /* support driverfs hiearchy */
+ int policy;
};
#define GENHD_FL_REMOVABLE 1
@@ -94,7 +95,7 @@ struct gendisk {
struct device disk_dev;
struct timer_rand_state *random;
-
+ int policy;
unsigned sync_io; /* RAID */
unsigned reads, writes;