diff options
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index faa44f90608a..f2c1c0b79f66 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -360,6 +360,11 @@ static void ubifs_delete_inode(struct inode *inode) | |||
360 | out: | 360 | out: |
361 | if (ui->dirty) | 361 | if (ui->dirty) |
362 | ubifs_release_dirty_inode_budget(c, ui); | 362 | ubifs_release_dirty_inode_budget(c, ui); |
363 | else { | ||
364 | /* We've deleted something - clean the "no space" flags */ | ||
365 | c->nospace = c->nospace_rp = 0; | ||
366 | smp_wmb(); | ||
367 | } | ||
363 | clear_inode(inode); | 368 | clear_inode(inode); |
364 | } | 369 | } |
365 | 370 | ||