diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 502c63d8f096fff9ec5ae6f3ddbc1e44a51fe5c2..6cc046d368158d541a589aaa476286d7248541de 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -67,7 +67,7 @@ static int recover_dentry(struct page *ipage, struct inode *inode) kunmap(page); f2fs_put_page(page, 0); } else { - f2fs_add_link(&dent, inode); + err = f2fs_add_link(&dent, inode); } iput(dir); out: