tree:
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
scrub-rtsummary
head: 30ed2e375306b1c5c8c622635a87595eec25a2d0
commit: cb3f81457960adfaad61877b8c86e78e5b608bf3 [12/56] xfs: flush eof/cowblocks if we
can't reserve quota for file blocks
config: c6x-randconfig-r031-20210115 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/comm...
git remote add djwong-xfs
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs scrub-rtsummary
git checkout cb3f81457960adfaad61877b8c86e78e5b608bf3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/xfs/xfs_trace.c:25:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
--
In file included from fs/xfs/libxfs/xfs_attr.c:24:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/libxfs/xfs_attr.c: In function 'xfs_attr_set':
> fs/xfs/libxfs/xfs_attr.c:470:41: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
470 | error =
xfs_trans_reserve_quota_nblks(&args->trans, dp,
| ^~~~~~~~~~~~
| |
| struct xfs_trans **
In file included from fs/xfs/libxfs/xfs_attr.c:24:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
--
In file included from fs/xfs/libxfs/xfs_bmap.c:27:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/libxfs/xfs_bmap.c: In function 'xfs_bmap_add_attrfork':
> fs/xfs/libxfs/xfs_bmap.c:1090:40: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
1090 | error =
xfs_trans_reserve_quota_nblks(&tp, ip, blks, 0, rsvd ?
| ^~~
| |
| xfs_trans_t ** {aka struct xfs_trans
**}
In file included from fs/xfs/libxfs/xfs_bmap.c:27:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'xfs_trans_t **' {aka 'struct xfs_trans **'}
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/libxfs/xfs_bmap.c: In function 'xfs_bmap_del_extent_real':
fs/xfs/libxfs/xfs_bmap.c:5243:58: warning: suggest braces around empty body in an
'if' statement [-Wempty-body]
5243 | xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks);
| ^
cc1: some warnings being treated as errors
--
In file included from fs/xfs/xfs_bmap_util.c:25:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_bmap_util.c: In function 'xfs_alloc_file_space':
> fs/xfs/xfs_bmap_util.c:822:41: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
822 | error =
xfs_trans_reserve_quota_nblks(&tp, ip, qblocks, 0,
| ^~~
| |
| xfs_trans_t ** {aka struct xfs_trans
**}
In file included from fs/xfs/xfs_bmap_util.c:25:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'xfs_trans_t **' {aka 'struct xfs_trans **'}
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_bmap_util.c: In function 'xfs_unmap_extent':
fs/xfs/xfs_bmap_util.c:886:40: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
886 | error = xfs_trans_reserve_quota_nblks(&tp, ip, resblks, 0,
| ^~~
| |
| struct xfs_trans **
In file included from fs/xfs/xfs_bmap_util.c:25:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
--
In file included from fs/xfs/xfs_ioctl.c:23:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_ioctl.c: In function 'xfs_ioctl_setattr':
fs/xfs/xfs_ioctl.c:1438:20: warning: variable 'olddquot' set but not used
[-Wunused-but-set-variable]
1438 | struct xfs_dquot *olddquot = NULL;
| ^~~~~~~~
cc1: some warnings being treated as errors
--
In file included from fs/xfs/xfs_iomap.c:26:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_iomap.c: In function 'xfs_iomap_write_direct':
> fs/xfs/xfs_iomap.c:251:40: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
251 | error =
xfs_trans_reserve_quota_nblks(&tp, ip, qblocks, 0, quota_flag,
| ^~~
| |
| struct xfs_trans **
In file included from fs/xfs/xfs_iomap.c:26:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_iomap.c: In function 'xfs_iomap_write_unwritten':
fs/xfs/xfs_iomap.c:566:41: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
566 | error = xfs_trans_reserve_quota_nblks(&tp, ip, resblks, 0,
| ^~~
| |
| xfs_trans_t ** {aka struct xfs_trans
**}
In file included from fs/xfs/xfs_iomap.c:26:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'xfs_trans_t **' {aka 'struct xfs_trans **'}
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
--
In file included from fs/xfs/xfs_iops.c:15:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_iops.c: In function 'xfs_setattr_nonsize':
fs/xfs/xfs_iops.c:662:39: warning: variable 'olddquot2' set but not used
[-Wunused-but-set-variable]
662 | struct xfs_dquot *olddquot1 = NULL, *olddquot2 = NULL;
| ^~~~~~~~~
fs/xfs/xfs_iops.c:662:20: warning: variable 'olddquot1' set but not used
[-Wunused-but-set-variable]
662 | struct xfs_dquot *olddquot1 = NULL, *olddquot2 = NULL;
| ^~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from fs/xfs/xfs_reflink.c:27:
fs/xfs/xfs_quota.h: In function 'xfs_trans_unreserve_quota_nblks':
> fs/xfs/xfs_quota.h:175:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
175 | return
xfs_trans_reserve_quota_nblks(&tp, ip, -nblks, -ninos, flags,
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_quota.h: At top level:
fs/xfs/xfs_quota.h:180:1: error: redefinition of 'xfs_quota_reserve_blkres'
180 | xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t nblks,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h:144:19: note: previous definition of
'xfs_quota_reserve_blkres' was here
144 | static inline int xfs_quota_reserve_blkres(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_quota.h: In function 'xfs_quota_reserve_blkres':
fs/xfs/xfs_quota.h:185:39: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
185 | return xfs_trans_reserve_quota_nblks(&tp, ip, nblks, 0, flags, NULL);
| ^~~
| |
| struct xfs_trans **
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_reflink.c: In function 'xfs_reflink_allocate_cow':
> fs/xfs/xfs_reflink.c:403:40: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
403 | error =
xfs_trans_reserve_quota_nblks(&tp, ip, resblks, 0,
| ^~~
| |
| struct xfs_trans **
In file included from fs/xfs/xfs_reflink.c:27:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
fs/xfs/xfs_reflink.c: In function 'xfs_reflink_remap_extent':
fs/xfs/xfs_reflink.c:1099:41: error: passing argument 1 of
'xfs_trans_reserve_quota_nblks' from incompatible pointer type
[-Werror=incompatible-pointer-types]
1099 | error = xfs_trans_reserve_quota_nblks(&tp, ip, qres, 0,
| ^~~
| |
| struct xfs_trans **
In file included from fs/xfs/xfs_reflink.c:27:
fs/xfs/xfs_quota.h:131:67: note: expected 'struct xfs_trans *' but argument is
of type 'struct xfs_trans **'
131 | static inline int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp,
| ~~~~~~~~~~~~~~~~~~^~
cc1: some warnings being treated as errors
..
vim +/xfs_trans_reserve_quota_nblks +175 fs/xfs/xfs_quota.h
170
171 static inline int
172 xfs_trans_unreserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip,
173 int64_t nblks, long ninos, unsigned int flags)
174 {
175 return xfs_trans_reserve_quota_nblks(&tp, ip, -nblks,
-ninos, flags,
176 NULL);
177 }
178
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org