diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-09-25 09:47:07 +0200 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2023-09-28 14:04:01 +0200 |
commit | f684073c09fd4658faa0a75c12b65d89a58b8e83 (patch) | |
tree | c77b3d8119b88bb7c8fbfbdf72b06f8b893a5407 /fs/ntfs3/inode.c | |
parent | fs/ntfs3: Fix alternative boot searching (diff) | |
download | linux-f684073c09fd4658faa0a75c12b65d89a58b8e83.tar.xz linux-f684073c09fd4658faa0a75c12b65d89a58b8e83.zip |
fs/ntfs3: Refactoring and comments
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/inode.c')
-rw-r--r-- | fs/ntfs3/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index 2f76dc055c1f..d6d021e19aaa 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -1660,7 +1660,8 @@ struct inode *ntfs_create_inode(struct mnt_idmap *idmap, struct inode *dir, d_instantiate(dentry, inode); /* Set original time. inode times (i_ctime) may be changed in ntfs_init_acl. */ - inode->i_atime = inode->i_mtime = inode_set_ctime_to_ts(inode, ni->i_crtime); + inode->i_atime = inode->i_mtime = + inode_set_ctime_to_ts(inode, ni->i_crtime); dir->i_mtime = inode_set_ctime_to_ts(dir, ni->i_crtime); mark_inode_dirty(dir); |