diff options
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 13e90b0dd95d..cf1fb6cffa09 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -306,7 +306,7 @@ static int ubifs_write_inode(struct inode *inode, int wait) | |||
306 | dbg_gen("inode %lu, mode %#x, nlink %u", | 306 | dbg_gen("inode %lu, mode %#x, nlink %u", |
307 | inode->i_ino, (int)inode->i_mode, inode->i_nlink); | 307 | inode->i_ino, (int)inode->i_mode, inode->i_nlink); |
308 | if (inode->i_nlink) { | 308 | if (inode->i_nlink) { |
309 | err = ubifs_jnl_write_inode(c, inode, 0); | 309 | err = ubifs_jnl_write_inode(c, inode); |
310 | if (err) | 310 | if (err) |
311 | ubifs_err("can't write inode %lu, error %d", | 311 | ubifs_err("can't write inode %lu, error %d", |
312 | inode->i_ino, err); | 312 | inode->i_ino, err); |
@@ -341,7 +341,7 @@ static void ubifs_delete_inode(struct inode *inode) | |||
341 | goto out; | 341 | goto out; |
342 | 342 | ||
343 | ui->ui_size = inode->i_size = 0; | 343 | ui->ui_size = inode->i_size = 0; |
344 | err = ubifs_jnl_write_inode(c, inode, 1); | 344 | err = ubifs_jnl_write_inode(c, inode); |
345 | if (err) | 345 | if (err) |
346 | /* | 346 | /* |
347 | * Worst case we have a lost orphan inode wasting space, so a | 347 | * Worst case we have a lost orphan inode wasting space, so a |