aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 4f35b2f315d4..d269821203fd 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -2272,7 +2272,7 @@ retry:
2272 err = PTR_ERR(handle); 2272 err = PTR_ERR(handle);
2273 goto err_drop_inode; 2273 goto err_drop_inode;
2274 } 2274 }
2275 inc_nlink(inode); 2275 set_nlink(inode, 1);
2276 err = ext3_orphan_del(handle, inode); 2276 err = ext3_orphan_del(handle, inode);
2277 if (err) { 2277 if (err) {
2278 ext3_journal_stop(handle); 2278 ext3_journal_stop(handle);