| commit | 3ea4af8fef276c92bea39d34b49ecde3ea985839 | [log] [tgz] |
|---|---|---|
| author | Pankaj Raghav <p.raghav@samsung.com> | Thu Apr 25 13:37:45 2024 +0200 |
| committer | Luis Chamberlain <mcgrof@kernel.org> | Wed May 01 17:20:10 2024 -0700 |
| tree | dabe6367922ce118dd83af1fdedecc4469a13b5a | |
| parent | 85612004ae276ac815a628af8f0121c2003cd2bc [diff] |
xfs: make the calculation generic in xfs_sb_validate_fsb_count() Instead of assuming that PAGE_SHIFT is always higher than the blocklog, make the calculation generic so that page cache count can be calculated correctly for LBS. Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>