diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-25 16:48:42 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-25 09:50:09 -0600 |
commit | c6a564ffadc9105880329710164ee493f0de103c (patch) | |
tree | efb3a49e6ba88e5db5a6e2276cacd2179b1fddb2 /drivers/md/dm.c | |
parent | 581e26004a09c50e5017caadc850ea17e374a5ee (diff) | |
download | linux-c6a564ffadc9105880329710164ee493f0de103c.tar.bz2 |
block: move the part_stat* helpers from genhd.h to a new header
These macros are just used by a few files. Move them out of genhd.h,
which is included everywhere into a new standalone header.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 0413018c8305..0d881cfa160b 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -25,6 +25,7 @@ #include <linux/wait.h> #include <linux/pr.h> #include <linux/refcount.h> +#include <linux/part_stat.h> #define DM_MSG_PREFIX "core" |