diff options
| author | Johannes Thumshirn <[email protected]> | 2025-04-29 13:42:53 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2025-06-13 06:49:00 +0000 |
| commit | 6982100bb8297c46122cac4f684dcf44cb7d0d8c (patch) | |
| tree | 6404f09e8e541462696300974ba17a0bad5336a6 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-6982100bb8297c46122cac4f684dcf44cb7d0d8c.tar.gz kernel-6982100bb8297c46122cac4f684dcf44cb7d0d8c.zip | |
zonefs: use ZONEFS_SUPER_SIZE instead of PAGE_SIZE
Use ZONEFS_SUPER_SIZE constant instead of PAGE_SIZE allocating memory for
reading the super block in zonefs_read_super().
While PAGE_SIZE technically isn't incorrect as Linux doesn't support pages
smaller than 4k ZONEFS_SUPER_SIZE is semantically more correct.
Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
