hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/afs/dir.c
....@@ -1313,6 +1313,7 @@
13131313 op->dentry = dentry;
13141314 op->create.mode = S_IFDIR | mode;
13151315 op->create.reason = afs_edit_dir_for_mkdir;
1316
+ op->mtime = current_time(dir);
13161317 op->ops = &afs_mkdir_operation;
13171318 return afs_do_sync_operation(op);
13181319 }
....@@ -1616,6 +1617,7 @@
16161617 op->dentry = dentry;
16171618 op->create.mode = S_IFREG | mode;
16181619 op->create.reason = afs_edit_dir_for_create;
1620
+ op->mtime = current_time(dir);
16191621 op->ops = &afs_create_operation;
16201622 return afs_do_sync_operation(op);
16211623
....@@ -1745,6 +1747,7 @@
17451747 op->ops = &afs_symlink_operation;
17461748 op->create.reason = afs_edit_dir_for_symlink;
17471749 op->create.symlink = content;
1750
+ op->mtime = current_time(dir);
17481751 return afs_do_sync_operation(op);
17491752
17501753 error: