Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110567
b: refs/heads/master
c: b02739b
h: refs/heads/master
i:
  110565: bc1a2f0
  110563: ac4ee06
  110559: bac8945
v: v3
  • Loading branch information
Martin K. Petersen authored and Jens Axboe committed Oct 9, 2008
1 parent e9a200c commit 97bef90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad7fce93147d32ae53d25d9ea1a8ba31a239deee
refs/heads/master: b02739b01c5309d74a59859f2ce92c931d1f1955
6 changes: 6 additions & 0 deletions trunk/include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,11 @@ struct blk_integrity *bdev_get_integrity(struct block_device *bdev)
return bdev->bd_disk->integrity;
}

static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk)
{
return disk->integrity;
}

static inline int blk_integrity_rq(struct request *rq)
{
if (rq->bio == NULL)
Expand All @@ -1036,6 +1041,7 @@ static inline int blk_integrity_rq(struct request *rq)
#define blk_rq_count_integrity_sg(a) (0)
#define blk_rq_map_integrity_sg(a, b) (0)
#define bdev_get_integrity(a) (0)
#define blk_get_integrity(a) (0)
#define blk_integrity_compare(a, b) (0)
#define blk_integrity_register(a, b) (0)
#define blk_integrity_unregister(a) do { } while (0);
Expand Down

0 comments on commit 97bef90

Please sign in to comment.