]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: change the seconds fields in xfs_bulkstat to signed
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 15 Oct 2019 15:46:07 +0000 (08:46 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 15 Oct 2019 15:46:07 +0000 (08:46 -0700)
commitab9aa8e03473b839be46d4d7c41daead8fc3c3fd
tree2c71f283e6b331f3f757d4c861b1131354eb8346
parentefc94bfa83a7d822ca24293f1f3165484a3790fc
xfs: change the seconds fields in xfs_bulkstat to signed

64-bit time is a signed quantity in the kernel, so the bulkstat
structure should reflect that.  Note that the structure size stays
the same and that we have not yet published userspace headers for this
new ioctl so there are no users to break.

Fixes: 5398255783c5 ("xfs: introduce new v5 bulkstat structure")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_fs.h