Shorten the name to blk_queue_supports_integrity which is less
duplicative and more expressive.
Signed-off-by: Christoph Hellwig <hch@lst.de>
bool blk_ksm_register(struct blk_keyslot_manager *ksm, struct request_queue *q)
{
- if (blk_integrity_queue_supports_integrity(q)) {
+ if (blk_queue_supports_integrity(q)) {
pr_warn("Integrity and hardware inline encryption are not supported together. Disabling hardware inline encryption.\n");
return false;
}
}
static inline bool
-blk_integrity_queue_supports_integrity(struct request_queue *q)
+blk_queue_supports_integrity(struct request_queue *q)
{
return q->integrity.profile;
}
{
return NULL;
}
-static inline bool
-blk_integrity_queue_supports_integrity(struct request_queue *q)
+static inline bool blk_queue_supports_integrity(struct request_queue *q)
{
return false;
}