Commit 7ee0abe6 authored by Martin Pool's avatar Martin Pool Committed by Linus Torvalds

[PATCH] trivial doc patch for partitions

It's slightly hard to see how these variables are used; this patch adds a
short description.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b34fbc4c
......@@ -356,6 +356,7 @@ struct block_device {
struct block_device * bd_contains;
unsigned bd_block_size;
struct hd_struct * bd_part;
/* number of times partitions within this device have been opened. */
unsigned bd_part_count;
int bd_invalidated;
struct gendisk * bd_disk;
......
......@@ -82,7 +82,8 @@ struct disk_stats {
struct gendisk {
int major; /* major number of driver */
int first_minor;
int minors;
int minors; /* maximum number of minors, =1 for
* disks that can't be partitioned. */
char disk_name[32]; /* name of major driver */
struct hd_struct **part; /* [indexed by minor] */
struct block_device_operations *fops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment