[PATCH 11/11] afs: Fix dirty-region encoding on ppc32 with 64K pages
David Howells
dhowells at redhat.com
Thu Oct 29 07:48:38 EDT 2020
David Howells <dhowells at redhat.com> wrote:
> +static inline unsigned int afs_page_dirty_resolution(void)
> +{
> + long shift = PAGE_SHIFT - (__AFS_PAGE_PRIV_SHIFT - 1);
This should be int, not long, in case we get an explicitly unsigned int number
included in the mix (say from thp_order() with THP support).
David
More information about the linux-afs
mailing list