Re: [PATCH v14 031/138] fs/netfs: Add folio fscache functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 15, 2021 at 05:51:26PM +0800, kernel test robot wrote:
>    include/linux/netfs.h: In function 'folio_start_fscache':
> >> include/linux/netfs.h:43:2: error: implicit declaration of function 'folio_set_private_2_flag'; did you mean 'folio_set_private_2'? [-Werror=implicit-function-declaration]
>       43 |  folio_set_private_2_flag(folio);
>          |  ^~~~~~~~~~~~~~~~~~~~~~~~
>          |  folio_set_private_2
>    cc1: some warnings being treated as errors

I'll be folding in this patch:

+++ b/include/linux/netfs.h
@@ -40,7 +40,7 @@ static inline void folio_start_fscache(struct folio *folio)
 {
        VM_BUG_ON_FOLIO(folio_test_private_2(folio), folio);
        folio_get(folio);
-       folio_set_private_2_flag(folio);
+       folio_set_private_2(folio);
 }

 /**







[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux