From: Omar Sandoval <osandov@xxxxxx> Patches 1 and 3 are from the original series. Patch 2 gets rid of the redundant struct loop_device.lo_logical_blocksize in favor of using the queue's own logical_block_size. Karel, I decided against adding another sysfs entry since it will always be the same as queue/logical_block_size, is that alright with you? Omar Sandoval (3): loop: fix hang if LOOP_SET_STATUS gets invalid blocksize or encrypt type loop: use queue limit instead of private lo_logical_blocksize loop: always return block size in LOOP_GET_STATUS drivers/block/loop.c | 71 ++++++++++++++++++++++++++-------------------------- drivers/block/loop.h | 1 - 2 files changed, 36 insertions(+), 36 deletions(-) -- 2.14.1