Revert "block: use "unsigned long" for blk_validate_block_size()."
This reverts commit 824dca8cf5
.
This commit is contained in:
parent
c3c4efe7b0
commit
ce957c283b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ struct blk_keyslot_manager;
|
|||
*/
|
||||
#define BLKCG_MAX_POLS 5
|
||||
|
||||
static inline int blk_validate_block_size(unsigned long bsize)
|
||||
static inline int blk_validate_block_size(unsigned int bsize)
|
||||
{
|
||||
if (bsize < 512 || bsize > PAGE_SIZE || !is_power_of_2(bsize))
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Add table
Reference in a new issue