diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-10-26 22:40:12 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-27 14:15:51 -0600 |
commit | 570b1cac477643cbf01a45fa5d018430a1fddbce (patch) | |
tree | 628aa72ad9f68afcebe377f59de2cc847e624fc2 /include/linux/debugobjects.h | |
parent | c7b84d4226adaa601e9f73574ef123d1500cf712 (diff) |
block: Add a helper to validate the block size
There are some duplicated codes to validate the block
size in block drivers. This limitation actually comes
from block layer, so this patch tries to add a new block
layer helper for that.
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20211026144015.188-2-xieyongji@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions