Unverified Commit 2d44667c authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Update i_ctime when xattr is added



Ctime wasn't updated after setfacl command.
This commit fixes xfstest generic/307
Fixes: be71b5cb ("fs/ntfs3: Add attrib operations")

Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 87e21c99
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -995,6 +995,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;
}