[miklos-vfs:redirect 24/27] fs/overlayfs/namei.c:164: error: unknown field 'len' specified in initializer

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git redirect
head:   6a0155d9eb149b7fccf1fb5d0caa36eea8de1446
commit: 138084636797bcb0838b5ae3272c1129fd902dbe [24/27] ovl: redirect on rename-dir
config: x86_64-randconfig-s2-11110608 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        git checkout 138084636797bcb0838b5ae3272c1129fd902dbe
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   fs/overlayfs/namei.c: In function 'ovl_lookup_layer':
>> fs/overlayfs/namei.c:164: error: unknown field 'len' specified in initializer
>> fs/overlayfs/namei.c:164: warning: excess elements in struct initializer
   fs/overlayfs/namei.c:164: warning: (near initialization for 'name')

vim +/len +164 fs/overlayfs/namei.c

   158	
   159		if (*s != '/')
   160			return ovl_lookup_single(base, d, &d->name, 0, "", ret);
   161	
   162		while (*s++ == '/' && !IS_ERR_OR_NULL(base) && d_can_lookup(base)) {
   163			const char *next = strchrnul(s, '/');
 > 164			struct qstr name = { .name = s, .len = next - s };
   165			size_t slen = strlen(s);
   166	
   167			if (WARN_ON(slen > d->name.len) ||

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux