block: Remove mm.h from bvec.h
authorMatthew Wilcox <willy@infradead.org>
Tue, 31 Jan 2023 05:01:32 +0000 (05:01 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Jan 2023 16:21:50 +0000 (09:21 -0700)
This was originally added for the definition of nth_page(), but we no
longer use nth_page() in this header, so we can drop the heavyweight
mm.h now.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20230131050132.2627124-1-willy@infradead.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bvec.h

index 35c25df..7939b34 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/errno.h>
 #include <linux/limits.h>
 #include <linux/minmax.h>
-#include <linux/mm.h>
 #include <linux/types.h>
 
 struct page;