]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Linux 5.9 compat: add linux/blkdev.h include
authorColeman Kane <ckane@colemankane.org>
Sun, 9 Aug 2020 16:03:03 +0000 (12:03 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Aug 2020 20:35:10 +0000 (13:35 -0700)
commit1823c8fe6a4a20971463e9b51615dad412aea9a9
tree68b4c98f41b1f3805b9535a3984d43d9b7f35c89
parent9777044f1c68f5a671834ce28cba5a086a06462a
Linux 5.9 compat: add linux/blkdev.h include

Many of the block device operations (often functions with bdev in
the name) were moved into linux/blkdev.h from linux/fs.h. Seems
that this header is already included where needed in the code, but
in the autoconf tests it was missing causing false negatives. This
commit has those tests include linux/fs.h (old location) and now
also linux/blkdev.h (new locations).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #10696
AUTHORS
config/kernel-blkdev.m4