loop: Factor out setting loop device size
This code is used repeatedly. Signed-off-by: NMartijn Coenen <maco@android.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录
This code is used repeatedly. Signed-off-by: NMartijn Coenen <maco@android.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJens Axboe <axboe@kernel.dk>