]> git.dujemihanovic.xyz Git - linux.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)
commita861fb9fa51da7b1957f612b742ce62a95591628
treeebad55086e6a7fa53915ceaae49ee225a83d1431
parentb3998b3bc658017dc36c69a8224fb11a3d1b1382
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