mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
Fixes: be71b5cba2
("fs/ntfs3: Add attrib operations")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
69943484b9
commit
1c308ace1f
@ -1738,6 +1738,7 @@ repack:
|
|||||||
|
|
||||||
attr_b->nres.total_size = cpu_to_le64(total_size);
|
attr_b->nres.total_size = cpu_to_le64(total_size);
|
||||||
inode_set_bytes(&ni->vfs_inode, total_size);
|
inode_set_bytes(&ni->vfs_inode, total_size);
|
||||||
|
ni->ni_flags |= NI_FLAG_UPDATE_PARENT;
|
||||||
|
|
||||||
mi_b->dirty = true;
|
mi_b->dirty = true;
|
||||||
mark_inode_dirty(&ni->vfs_inode);
|
mark_inode_dirty(&ni->vfs_inode);
|
||||||
|
Loading…
Reference in New Issue
Block a user