summaryrefslogtreecommitdiff
path: root/drivers/md/dm-rq.c
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2020-07-25 20:00:24 +0800
committerJens Axboe <axboe@kernel.dk>2020-07-25 07:38:20 -0600
commitc557a5f7bb2558f1386038549c289d7a20c78730 (patch)
tree03268fe1ee770a5ca23884133de5a6cdb3940a06 /drivers/md/dm-rq.c
parent5b21403c7f48b7d2312b302ab9e8468ec2c711a3 (diff)
bcache: add more accurate error information in read_super_common()
The improperly set bucket or block size will trigger error in read_super_common(). For large bucket size, a more accurate error message for invalid bucket or block size is necessary. This patch disassembles the combined if() checks into multiple single if() check, and provide more accurate error message for each check failure condition. Signed-off-by: Coly Li <colyli@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-rq.c')
0 files changed, 0 insertions, 0 deletions