proc: move /proc/diskstats boilerplate to block/genhd.c

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Alexey Dobriyan
2008-10-06 12:55:38 +04:00
parent 5c9fe6281b
commit 31d85ab28e
3 changed files with 14 additions and 19 deletions

View File

@@ -25,8 +25,6 @@ extern struct device_type part_type;
extern struct kobject *block_depr;
extern struct class block_class;
extern const struct seq_operations diskstats_op;
enum {
/* These three have identical behaviour; use the second one if DOS FDISK gets
confused about extended/logical partitions starting past cylinder 1023. */