]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/genhd.h
Merge branch 'for-2.6.37/core' of git://git.kernel.dk/linux-2.6-block
[linux-beck.git] / include / linux / genhd.h
index 57647ecfc1bd634da5f7dfede07f6958256db8e3..557c3927e70f5637c3bef45a019e9f6fc257c3a4 100644 (file)
@@ -139,9 +139,9 @@ struct blk_scsi_cmd_filter {
 struct disk_part_tbl {
        struct rcu_head rcu_head;
        int len;
-       struct hd_struct *last_lookup;
+       struct hd_struct __rcu *last_lookup;
        struct gendisk *disk;
-       struct hd_struct *part[];
+       struct hd_struct __rcu *part[];
 };
 
 struct gendisk {
@@ -160,7 +160,7 @@ struct gendisk {
         * non-critical accesses use RCU.  Always access through
         * helpers.
         */
-       struct disk_part_tbl *part_tbl;
+       struct disk_part_tbl __rcu *part_tbl;
        struct hd_struct part0;
 
        const struct block_device_operations *fops;