commit | 21be6cdc00954b5e5e5842b69ec8e83fb3cb0816 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 14 09:28:58 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 20 11:32:59 2020 -0600 |
tree | 832d4d8b17e3d4d39d1e911e20d587bca61634a9 | |
parent | d46430bf5a2298f55e20f59a90ebe3545d273b2f [diff] |
dasd: use blk_drop_partitions instead of badly reimplementing it Use the blk_drop_partitions function instead of messing around with ioctls that get kernel pointers. For this blk_drop_partitions needs to be exported, which it normally shouldn't - make an exception for s390 only. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>