omfs: rename() needs to mark old_inode dirty after ctime update
[deliverable/linux.git] / fs / omfs / dir.c
index 393f3f659da7b0297e12155a4922ed15886f2099..9990fc8569590bab5881027281fa338f01b4ba48 100644 (file)
@@ -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;
 }
This page took 0.02392 seconds and 5 git commands to generate.