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