commit | fcac184ccf342a345ea8fe4d842415841af89e64 | [log] [tgz] |
---|---|---|
author | Andrey Albershteyn <aalbersh@redhat.com> | Tue Apr 23 14:36:15 2024 +0200 |
committer | Carlos Maiolino <cem@kernel.org> | Tue Apr 23 15:02:58 2024 +0200 |
tree | 4a90aeb0bbbf3063c07f28f6734cfd4866a8d450 | |
parent | 21dc682a3842eb7e4c79f7e511d840e708d7e757 [diff] |
xfs_repair: make duration take time_t In most of the uses of duration() takes time_t instead of int. Convert the rest to use time_t and make duration() take time_t to not truncate it to int. While at it remove unnecessary parentheses around 'elapsed'. Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>