commit | 9c6e9d8de2d236f630efdd6fddb6277e8664989b | [log] [tgz] |
---|---|---|
author | Andrey Albershteyn <aalbersh@redhat.com> | Tue Apr 23 14:36:17 2024 +0200 |
committer | Carlos Maiolino <cem@kernel.org> | Tue Apr 23 15:02:58 2024 +0200 |
tree | e650b4a258bf78dc50c03c1d11757fbf2388d41f | |
parent | c4dd920b8a8900046e0785e55a43c7190b82c59a [diff] |
xfs_fsr: convert fsrallfs to use time_t instead of int Convert howlong argument to a time_t as it's truncated to int, but in practice this is not an issue as duration will never be this big. Add check for howlong to fit into int (printf can use int format specifier). Even longer interval doesn't make much sense. Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>