diff options
Diffstat (limited to 'fs/nilfs2/namei.c')
-rw-r--r-- | fs/nilfs2/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/namei.c b/fs/nilfs2/namei.c index a3141990061e..768982de10e4 100644 --- a/fs/nilfs2/namei.c +++ b/fs/nilfs2/namei.c | |||
@@ -289,7 +289,7 @@ static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) | |||
289 | nilfs_warning(inode->i_sb, __func__, | 289 | nilfs_warning(inode->i_sb, __func__, |
290 | "deleting nonexistent file (%lu), %d\n", | 290 | "deleting nonexistent file (%lu), %d\n", |
291 | inode->i_ino, inode->i_nlink); | 291 | inode->i_ino, inode->i_nlink); |
292 | inode->i_nlink = 1; | 292 | set_nlink(inode, 1); |
293 | } | 293 | } |
294 | err = nilfs_delete_entry(de, page); | 294 | err = nilfs_delete_entry(de, page); |
295 | if (err) | 295 | if (err) |