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:
Родитель
d8be98ab88
Коммит
79f44f05e7
|
@ -902,6 +902,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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче