]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use time_is_before_jiffies() instead of open coding it
authorWang Qing <wangqing@vivo.com>
Mon, 28 Feb 2022 03:15:20 +0000 (19:15 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Mar 2022 04:50:02 +0000 (23:50 -0500)
commit0775648b02cfe1229d7594d163466b2cbc007cbc
treeebad55086e6a7fa53915ceaae49ee225a83d1431
parentf1896d78696c5ddd302532310e4bf4fda4af720f
ext4: use time_is_before_jiffies() instead of open coding it

Use the helper function time_is_{before,after}_jiffies() to improve
code readability.

Signed-off-by: Wang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1646018120-61462-1-git-send-email-wangqing@vivo.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/resize.c