block: Move integrity kobject to struct gendisk
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 21 Oct 2015 17:19:27 +0000 (13:19 -0400)
committerJens Axboe <axboe@fb.com>
Wed, 21 Oct 2015 20:42:36 +0000 (14:42 -0600)
commitaff34e192e4eeacfb8b5ffc68e10a240f2c0c6d7
tree473ef945270499d07fdd8c196fc828ec6dc0acd3
parentef658fc2a6809b42dd7002229fd174a9a1645707
block: Move integrity kobject to struct gendisk

The integrity kobject purely exists to support the integrity
subdirectory in sysfs and doesn't really have anything to do with the
blk_integrity data structure. Move the kobject to struct gendisk where
it belongs.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reported-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-integrity.c
include/linux/blkdev.h
include/linux/genhd.h