Skip to content

Commit

Permalink
block: Remove mm.h from bvec.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Wilcox authored and Jens Axboe committed Jan 31, 2023
1 parent 48a9051 commit 2d97930
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/bvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d97930

Please sign in to comment.