]> git.baikalelectronics.ru Git - kernel.git/commit
block: always define struct blk_integrity in genhd.h
authorMax Gurtovoy <maxg@mellanox.com>
Tue, 19 May 2020 14:05:48 +0000 (17:05 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:38 +0000 (07:12 +0200)
commitfcebca5093f54412454e047af89296394454df14
tree217d3144c15b359fdde8877d0688acf9ea0c692f
parent3e58dd10f8a91bade14cf6d3caa2e1ae6c09e7e1
block: always define struct blk_integrity in genhd.h

This will reduce the amount of ifdefs inside the source code for various
drivers and also will reduce the amount of stub functions that were
created for the !CONFIG_BLK_DEV_INTEGRITY case.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/genhd.h