• C
    block: refactor blkpg_ioctl · fa9156ae
    Christoph Hellwig 提交于
    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: NJens Axboe <axboe@kernel.dk>
    fa9156ae
core.c 18.0 KB