Re: [linux-next:master] [vfs] 632586fb1b: WARNING:at_mm/slub.c:#cache_from_obj

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

 



On Fri, Jun 21, 2024 at 05:24:13PM GMT, kernel test robot wrote:
> 
> 
> Hello,
> 
> kernel test robot noticed "WARNING:at_mm/slub.c:#cache_from_obj" on:
> 
> commit: 632586fb1b5da157f060730549ad45ba9f5e0371 ("vfs: shave a branch in getname_flags")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

Thanks for the report. This is an entertaining typo:

diff --git a/fs/namei.c b/fs/namei.c
index 7bb0419a083d..3d3674c21d3c 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -193,7 +193,7 @@ getname_flags(const char __user *filename, int flags)
                }
                /* The empty path is special. */
                if (unlikely(!len) && !(flags & LOOKUP_EMPTY)) {
-                       __putname(result);
+                       __putname(kname);
                        kfree(result);
                        return ERR_PTR(-ENOENT);
                }

Folding this into the patch.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux