cacheflush.h: Add forward declaration for struct folio
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Mar 2022 03:35:10 +0000 (15:35 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2022 17:11:03 +0000 (10:11 -0700)
commit30d024b5058e0433914022f87d917a97a9527632
treefee0b30d3d92b458ae163cfcae7d02ce6b5719fd
parent6b1f86f8e9c7f9de7ca1cb987b2cf25e99b1ae3a
cacheflush.h: Add forward declaration for struct folio

The struct folio is not declared in cacheflush.h so we need to provide
a forward declaration as otherwise users of this header file may get
warnings.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 522a0032af00 ("Add linux/cacheflush.h")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cacheflush.h