Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/mdflush: include blkdev.h instead of genhd.h
In recent kernels, i.e. since commit 322cbb50de71 ("block: remove genhd.h"), genhd.h header has been removed and its content moved to blkdev.h. Since genhd.h has been included in blkdev.h since forever, including blkdev instead of genhd in the mdflush tool works for both older and newer kernel.
- Loading branch information