diff options
| author | Luis Chamberlain <[email protected]> | 2024-12-18 02:02:12 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-12-18 14:22:30 +0000 |
| commit | 51588b1b77b65cd0fb3440f78f37bef7178a2715 (patch) | |
| tree | 0823a5d0981bedd32da3c95a21f845e14d4c6b06 /net/unix/af_unix.c | |
| parent | block/bdev: use helper for max block size check (diff) | |
| download | kernel-51588b1b77b65cd0fb3440f78f37bef7178a2715.tar.gz kernel-51588b1b77b65cd0fb3440f78f37bef7178a2715.zip | |
nvme: use blk_validate_block_size() for max LBA check
The block layer already has support to validates proper block sizes
with blk_validate_block_size(), we can leverage that as well.
No functional changes.
Signed-off-by: Luis Chamberlain <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
