]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ceph: Convert to use jiffies macro
authorChen Yufan <chenyufan@vivo.com>
Thu, 22 Aug 2024 09:55:41 +0000 (17:55 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Aug 2024 07:30:09 +0000 (09:30 +0200)
commit2015716adbd9cac8505ed461f5f330e832be0c84
tree59fe7805b0924ca661090e84f70747f335c184d4
parent9a948c0c8e741776ee6d938b49d34d22034fbb7d
ceph: Convert to use jiffies macro

Use time_after_eq macro instead of using
jiffies directly to handle wraparound.

[ xiubli: adjust the header files order ]

Signed-off-by: Chen Yufan <chenyufan@vivo.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c