New code for 5.6:
- Get rid of compat_time_t
- Convert time_t to time64_t in quota code
- Remove shadow variables
- Prevent ATTR_ flag misuse in the attrmulti ioctls
- Clean out strlen in the attr code
- Remove some bogus asserts
- Fix various file size limit calculation errors with 32-bit kernels
- Pack xfs_dir2_sf_entry_t to fix build errors on arm oabi
- Fix nowait inode locking calls for directio aio reads.
- Fix memory corruption bugs when invalidating remote xattr value
  buffers.
- Streamline remote attr value removal.
- Make the buffer log format size consistent across platforms.
- Strengthen buffer log format size checking.
- Fix messed up return types of xfs_inode_need_cow.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAl4nKA0ACgkQ+H93GTRK
tOt6yxAAoITlh7CI9fADf+drYP3UmOLgacYcio1mSKmr7yvu/JYyUbrbwDrGhM2A
+sD5QBWWgjCORaW6FWOJFUNXGLzCcC5EcJ5U03u1SkHWv+QF6F+AUEvYyMFlMaIx
IrxkGpjNPh+/+pCFv15nmWh17fjZuM+9IgBtduXIpcaQdDJq38Pby38bgc40wnty
boeLgOatxWqhMdG91zYZgfzt3/Tf554IkUBmtyBaREA9Ii5oQ2bxQOddYVkPJlRt
S5uP43fdSvNHnt1AMg+b+mjs1njGJr9IzFsX1C2sKjZ4ncGby6+fJZ4Cbuvavj5A
JLbXtgqI0djkkmTUb51e+UDlzDoAHomVmZkmRytze9NUnpgLNua4yC6v7bnxBY0V
8QRfsbuIyJB2tYMOMS1/eiYsMe/doGAnu808mQNQqBQDPh9XHXIIGVgX5zPycfTJ
GPr0xZLG2sOQWuRc6Vvh+8vhJYj4Sq3ANeZAJGmvcFycYME3kOkeSmrO1NeTrVth
ohUaoXxKQq5iJRPu4VdIYcHbaSSeFGoxAnYwdjufbOVi9vTVCWjY48srHYTA9foI
KPQj6oAGuLk117u+Be9sinUI3aEKLHh7SnkByCVA5q5Zj6A05A7lJGF8NoiDtUiB
X5kpgE3PbHjin6jzU8HzeKYaFWByJjJe9oi2ezLrHr1CL4tsSjQ=
=YcOk
-----END PGP SIGNATURE-----
xfs: change return value of xfs_inode_need_cow to int

Fixes coccicheck warning:

fs/xfs/xfs_reflink.c:236:9-10: WARNING: return of 0/1 in function 'xfs_inode_need_cow' with return type bool

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
[darrick: rename the function so it doesn't sound like a predicate]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
3 files changed