diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-10-22 18:35:43 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-11-23 18:56:02 +0300 |
commit | 2d44667c306e7806848a3478820f87343feb5421 (patch) | |
tree | 2c5f8e78d25daeae01f9efdc0556c6d1f77300b6 /fs | |
parent | 87e21c99bad763524c953ff4d1a61ee19038ddc2 (diff) | |
download | linux-stable-2d44667c306e7806848a3478820f87343feb5421.tar.gz linux-stable-2d44667c306e7806848a3478820f87343feb5421.tar.bz2 linux-stable-2d44667c306e7806848a3478820f87343feb5421.zip |
fs/ntfs3: Update i_ctime when xattr is added
Ctime wasn't updated after setfacl command.
This commit fixes xfstest generic/307
Fixes: be71b5cba2e6 ("fs/ntfs3: Add attrib operations")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ntfs3/xattr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ntfs3/xattr.c b/fs/ntfs3/xattr.c index 56e774d0f56a..af818300493d 100644 --- a/fs/ntfs3/xattr.c +++ b/fs/ntfs3/xattr.c @@ -995,6 +995,9 @@ set_new_fa: err = ntfs_set_ea(inode, name, name_len, value, size, flags); out: + inode->i_ctime = current_time(inode); + mark_inode_dirty(inode); + return err; } |