Whamcloud - gitweb
LU-17243 pcc: replace i_mtime with inode_get_mtime()
authorJian Yu <yujian@whamcloud.com>
Tue, 12 Mar 2024 06:42:56 +0000 (23:42 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 16 Mar 2024 08:16:50 +0000 (08:16 +0000)
commit37ceb7d5c59901e8e05b3d3acfe440b381e9e82f
tree83b22d0ee0928b157497ea66236995c72d352fd1
parent5c4a7b1a92ac213c75f18ac3abeba36aaca920da
LU-17243 pcc: replace i_mtime with inode_get_mtime()

This patch replaces i_mtime with inode_get_mtime(), and
i_mtime.tv_sec with inode_get_mtime_sec() in pcc codes.

Test-Parameters: trivial testlist=sanity-pcc

Fixes: 3c586ca ("LU-17243 build: compatibility updates for kernel 6.6")
Change-Id: I756451ac9d38c3b434bb511b33d5d891b2b914ae
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54357
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/pcc.c