diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-09-21 08:58:39 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-21 08:59:26 -0700 |
commit | 24addd848a45747bcda68418710c72fdc8e145e4 (patch) | |
tree | e07afd743ca3b6eed585213469c3e38957eb7ac7 /crypto/algif_aead.c | |
parent | 7ed3cd1a69e3aedb29d4edf0b02624a1833a952d (diff) | |
download | linux-stable-24addd848a45747bcda68418710c72fdc8e145e4.tar.gz linux-stable-24addd848a45747bcda68418710c72fdc8e145e4.tar.bz2 linux-stable-24addd848a45747bcda68418710c72fdc8e145e4.zip |
fs: Introduce i_blocks_per_page
This helper is useful for both THPs and for supporting block size larger
than page size. Convert all users that I could find (we have a few
different ways of writing this idiom, and I may have missed some).
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions