commit | fa9156ae597c244df4e12891dc8329f649970d9a | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 14 09:28:53 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 20 11:32:59 2020 -0600 |
tree | fec1b378659b83f4e755e8d0788dde9dfaa81f0d | |
parent | b4fd63f42647110c963d4bfcd526ac48f5a5faff [diff] |
block: refactor blkpg_ioctl Split each sub-command out into a separate helper, and move those helpers to block/partitions/core.c instead of having a lot of partition manipulation logic open coded in block/ioctl.c. Signed-off-by: Christoph Hellwig <hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>