block: use FIELD_SIZEOF to calculate size of a field
authorManinder Singh <maninder1.s@samsung.com>
Tue, 7 Jul 2015 07:11:07 +0000 (12:41 +0530)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jul 2015 13:47:37 +0000 (07:47 -0600)
commit0762b23d23c1f23beab91a3af0fa89749b75f03c
tree0e4c71efb56b0c0d87861c467dbad1fca4cea73f
parentbb8bd38b9a1685334b73e8c62e128cbedb875867
block: use FIELD_SIZEOF to calculate size of a field

use FIELD_SIZEOF instead of open coding

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c