Re: [PATCH 51/58] xfs: add clone file and clone range ioctls

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

 



Hi Darrick,

[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: i386-randconfig-i0-201540 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   fs/xfs/xfs_ioctl.c: In function 'xfs_file_ioctl':
>> fs/xfs/xfs_ioctl.c:1962:51: warning: large integer implicitly truncated to unsigned type [-Woverflow]
      error = xfs_ioctl_reflink(src.file, 0, filp, 0, ~0ULL);
                                                      ^

vim +1962 fs/xfs/xfs_ioctl.c

  1946			error = xfs_fs_eofblocks_from_user(&eofb, &keofb);
  1947			if (error)
  1948				return error;
  1949	
  1950			return xfs_icache_free_eofblocks(mp, &keofb);
  1951		}
  1952	
  1953		case XFS_IOC_CLONE: {
  1954			struct fd src;
  1955	
  1956			src = fdget(p);
  1957			if (!src.file)
  1958				return -EBADF;
  1959	
  1960			trace_xfs_ioctl_clone(file_inode(src.file), file_inode(filp));
  1961	
> 1962			error = xfs_ioctl_reflink(src.file, 0, filp, 0, ~0ULL);
  1963			fdput(src);
  1964			if (error > 0)
  1965				error = 0;
  1966	
  1967			return error;
  1968		}
  1969	
  1970		case XFS_IOC_CLONE_RANGE: {

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux