diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-27 18:02:54 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-05-06 10:18:12 -0700 |
commit | 7f262f737502689ddc77117ffdefaea0a4a25b03 (patch) | |
tree | dd0d017180340288c1593e54d969ea98ea90ec4c /fs/f2fs/inode.c | |
parent | d46db4595be680bf9facb783fb95cf03b85f1d05 (diff) |
f2fs: ensure only power of 2 zone sizes are allowed
F2FS zoned support has power of 2 zone size assumption in many places
such as in __f2fs_issue_discard_zone, init_blkz_info. As the power of 2
requirement has been removed from the block layer, explicitly add a
condition in f2fs to allow only power of 2 zone size devices.
This condition will be relaxed once those calculation based on power of
2 is made generic.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inode.c')
0 files changed, 0 insertions, 0 deletions