summaryrefslogtreecommitdiff
path: root/fs/ntfs3
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-06-03 20:36:03 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-06-07 14:31:08 +0300
commit1c308ace1fd6de93bd0b7e1a5e8963ab27e2c016 (patch)
tree240f032e5d6bcd06ac72b1667cec3cb3f9ea693c /fs/ntfs3
parent69943484b95267c94331cba41e9e64ba7b24f136 (diff)
fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
Fixes: be71b5cba2e64 ("fs/ntfs3: Add attrib operations") Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3')
-rw-r--r--fs/ntfs3/attrib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs3/attrib.c b/fs/ntfs3/attrib.c
index 7918ab1a3f35..0d13da5523b1 100644
--- a/fs/ntfs3/attrib.c
+++ b/fs/ntfs3/attrib.c
@@ -1738,6 +1738,7 @@ repack:
attr_b->nres.total_size = cpu_to_le64(total_size);
inode_set_bytes(&ni->vfs_inode, total_size);
+ ni->ni_flags |= NI_FLAG_UPDATE_PARENT;
mi_b->dirty = true;
mark_inode_dirty(&ni->vfs_inode);