summaryrefslogtreecommitdiffstats
path: root/fs/omfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/omfs/dir.c')
-rw-r--r--fs/omfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
index 393f3f659da..9990fc85695 100644
--- a/fs/omfs/dir.c
+++ b/fs/omfs/dir.c
@@ -423,6 +423,7 @@ static int omfs_rename(struct inode *old_dir, struct dentry *old_dentry,
goto out;
old_inode->i_ctime = CURRENT_TIME_SEC;
+ mark_inode_dirty(old_inode);
out:
return err;
}