diff options
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index e6e8281628a..19d16f2ef81 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -483,6 +483,9 @@ static int ocfs2_truncate_file(struct inode *inode, | |||
483 | 483 | ||
484 | down_write(&OCFS2_I(inode)->ip_alloc_sem); | 484 | down_write(&OCFS2_I(inode)->ip_alloc_sem); |
485 | 485 | ||
486 | ocfs2_resv_discard(&osb->osb_la_resmap, | ||
487 | &OCFS2_I(inode)->ip_la_data_resv); | ||
488 | |||
486 | /* | 489 | /* |
487 | * The inode lock forced other nodes to sync and drop their | 490 | * The inode lock forced other nodes to sync and drop their |
488 | * pages, which (correctly) happens even if we have a truncate | 491 | * pages, which (correctly) happens even if we have a truncate |