Re: [PATCH 6/6] io_uring: add support for IORING_OP_OPEN_BY_HANDLE_AT

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

 



Hi Thomas,

kernel test robot noticed the following build errors:

[auto build test ERROR on brauner-vfs/vfs.all]
[also build test ERROR on linus/master v6.17-rc1 next-20250815]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Thomas-Bertschinger/fhandle-create-helper-for-name_to_handle_at-2/20250815-075417
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/20250814235431.995876-7-tahbertschinger%40gmail.com
patch subject: [PATCH 6/6] io_uring: add support for IORING_OP_OPEN_BY_HANDLE_AT
config: parisc-randconfig-r132-20250816 (https://download.01.org/0day-ci/archive/20250816/202508161702.2Ey3J7m9-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 11.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250816/202508161702.2Ey3J7m9-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508161702.2Ey3J7m9-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   hppa-linux-ld: io_uring/openclose.o: in function `io_name_to_handle_at':
   io_uring/openclose.c:241:(.text+0x870): undefined reference to `do_name_to_handle_at'
   hppa-linux-ld: io_uring/openclose.o: in function `io_open_by_handle_at':
>> io_uring/openclose.c:287:(.text+0x990): undefined reference to `__do_handle_open'


vim +287 io_uring/openclose.c

   266	
   267	int io_open_by_handle_at(struct io_kiocb *req, unsigned int issue_flags)
   268	{
   269		struct io_open *open = io_kiocb_to_cmd(req, struct io_open);
   270		struct file *file;
   271		bool fixed = !!open->file_slot;
   272		int ret;
   273	
   274		/*
   275		 * Always try again if we aren't supposed to block, because there is no
   276		 * way of preventing the FS implementation from blocking.
   277		 */
   278		if (issue_flags & IO_URING_F_NONBLOCK)
   279			return -EAGAIN;
   280	
   281		if (!fixed) {
   282			ret = __get_unused_fd_flags(open->how.flags, open->nofile);
   283			if (ret < 0)
   284				goto err;
   285		}
   286	
 > 287		file = __do_handle_open(open->dfd, open->ufh, open->how.flags);
   288	
   289		if (IS_ERR(file)) {
   290			if (!fixed)
   291				put_unused_fd(ret);
   292			ret = PTR_ERR(file);
   293			goto err;
   294		}
   295	
   296		if (!fixed)
   297			fd_install(ret, file);
   298		else
   299			ret = io_fixed_fd_install(req, issue_flags, file,
   300						  open->file_slot);
   301	
   302	err:
   303		if (ret < 0)
   304			req_set_fail(req);
   305		io_req_set_res(req, ret, 0);
   306		return IOU_COMPLETE;
   307	}
   308	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[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