diff options
Diffstat (limited to 'fs/minix/namei.c')
-rw-r--r-- | fs/minix/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/namei.c b/fs/minix/namei.c index 5b6a4540a05b..299bb66e3bde 100644 --- a/fs/minix/namei.c +++ b/fs/minix/namei.c | |||
@@ -249,7 +249,7 @@ static int minix_rename(struct inode * old_dir, struct dentry *old_dentry, | |||
249 | minix_set_link(new_de, new_page, old_inode); | 249 | minix_set_link(new_de, new_page, old_inode); |
250 | new_inode->i_ctime = CURRENT_TIME_SEC; | 250 | new_inode->i_ctime = CURRENT_TIME_SEC; |
251 | if (dir_de) | 251 | if (dir_de) |
252 | new_inode->i_nlink--; | 252 | drop_nlink(new_inode); |
253 | inode_dec_link_count(new_inode); | 253 | inode_dec_link_count(new_inode); |
254 | } else { | 254 | } else { |
255 | if (dir_de) { | 255 | if (dir_de) { |