aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorNguyen Dinh Phi <[email protected]>2024-02-28 17:30:31 +0000
committerChristian Brauner <[email protected]>2024-03-01 12:58:46 +0000
commit24a8b7bfb96120b32c222ef108bb7a713d1e385a (patch)
tree711b12644a5d2f7e66b81a9ff70ba77add80ef69 /fs/btrfs/dev-replace.c
parentefs: remove SLAB_MEM_SPREAD flag usage (diff)
downloadkernel-24a8b7bfb96120b32c222ef108bb7a713d1e385a.tar.gz
kernel-24a8b7bfb96120b32c222ef108bb7a713d1e385a.zip
fs: use inode_set_ctime_to_ts to set inode ctime to current time
The function inode_set_ctime_current simply retrieves the current time and assigns it to the field __i_ctime without any alterations. Therefore, it is possible to set ctime to now directly using inode_set_ctime_to_ts Signed-off-by: Nguyen Dinh Phi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions