Btrfs: use args in the correct order for kcalloc in btrfsic_read_block
authorLiu Bo <bo.liu@linux.alibaba.com>
Fri, 7 Sep 2018 20:41:40 +0000 (04:41 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:30 +0000 (17:23 +0200)
commit3b2fd8016069de59f73caca06f7ad60c25f3eb92
treeeca1cafa585e31455fb05547967a98c4fbc988ed
parenta27a94c2b0c727517c17cf2ca3a9f7291caadfbc
Btrfs: use args in the correct order for kcalloc in btrfsic_read_block

kcalloc is defined as:

  kcalloc(size_t n, size_t size, gfp_t flags)

Although this won't cause problems in practice, btrfsic_read_block()
uses kcalloc with n and size in the opposite order.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c