aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfs')
-rw-r--r--fs/hfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/dir.c b/fs/hfs/dir.c
index 7cd8cc03aea7..cfef6ad529a7 100644
--- a/fs/hfs/dir.c
+++ b/fs/hfs/dir.c
@@ -246,7 +246,7 @@ static int hfs_unlink(struct inode *dir, struct dentry *dentry)
246 if (res) 246 if (res)
247 return res; 247 return res;
248 248
249 inode->i_nlink--; 249 drop_nlink(inode);
250 hfs_delete_inode(inode); 250 hfs_delete_inode(inode);
251 inode->i_ctime = CURRENT_TIME_SEC; 251 inode->i_ctime = CURRENT_TIME_SEC;
252 mark_inode_dirty(inode); 252 mark_inode_dirty(inode);