mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
fs/ntfs3: Update i_ctime when xattr is added
commit2d44667c30
upstream. Ctime wasn't updated after setfacl command. This commit fixes xfstest generic/307 Fixes:be71b5cba2
("fs/ntfs3: Add attrib operations") Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bc4a1d384a
commit
1e576c4666
1 changed files with 3 additions and 0 deletions
|
@ -902,6 +902,9 @@ static noinline int ntfs_setxattr(const struct xattr_handler *handler,
|
|||
err = ntfs_set_ea(inode, name, name_len, value, size, flags);
|
||||
|
||||
out:
|
||||
inode->i_ctime = current_time(inode);
|
||||
mark_inode_dirty(inode);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue