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:
parent
5c9fe6281b
commit
31d85ab28e
3 changed files with 14 additions and 19 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue