[PATCH 9/9] fscache,netfs: move "fscache_" prefixed structures to fscache.h

David Howells dhowells at redhat.com
Fri Oct 28 00:13:03 AEDT 2022


Jingbo Xu <jefflexu at linux.alibaba.com> wrote:

> diff --git a/include/linux/netfs.h b/include/linux/netfs.h
> index 2ad4e1e88106..1977f953633a 100644
> --- a/include/linux/netfs.h
> +++ b/include/linux/netfs.h
> @@ -16,19 +16,10 @@
>  
>  #include <linux/workqueue.h>
>  #include <linux/fs.h>
> +#include <linux/fscache.h>

Please don't do that.  fscache is based on netfslib, not the other way around.

If anything, I'm tempted to move fscache into netfslib.

David



More information about the Linux-erofs mailing list