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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux