diff options
Diffstat (limited to 'fs/qnx4/namei.c')
-rw-r--r-- | fs/qnx4/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c index 775eed3a4085..123270c53760 100644 --- a/fs/qnx4/namei.c +++ b/fs/qnx4/namei.c | |||
@@ -187,7 +187,7 @@ int qnx4_rmdir(struct inode *dir, struct dentry *dentry) | |||
187 | de->di_status = 0; | 187 | de->di_status = 0; |
188 | memset(de->di_fname, 0, sizeof de->di_fname); | 188 | memset(de->di_fname, 0, sizeof de->di_fname); |
189 | de->di_mode = 0; | 189 | de->di_mode = 0; |
190 | mark_buffer_dirty(bh); | 190 | mark_buffer_dirty_inode(bh, dir); |
191 | clear_nlink(inode); | 191 | clear_nlink(inode); |
192 | mark_inode_dirty(inode); | 192 | mark_inode_dirty(inode); |
193 | inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME_SEC; | 193 | inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME_SEC; |
@@ -232,7 +232,7 @@ int qnx4_unlink(struct inode *dir, struct dentry *dentry) | |||
232 | de->di_status = 0; | 232 | de->di_status = 0; |
233 | memset(de->di_fname, 0, sizeof de->di_fname); | 233 | memset(de->di_fname, 0, sizeof de->di_fname); |
234 | de->di_mode = 0; | 234 | de->di_mode = 0; |
235 | mark_buffer_dirty(bh); | 235 | mark_buffer_dirty_inode(bh, dir); |
236 | dir->i_ctime = dir->i_mtime = CURRENT_TIME_SEC; | 236 | dir->i_ctime = dir->i_mtime = CURRENT_TIME_SEC; |
237 | mark_inode_dirty(dir); | 237 | mark_inode_dirty(dir); |
238 | inode->i_ctime = dir->i_ctime; | 238 | inode->i_ctime = dir->i_ctime; |