diff options
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r-- | fs/xfs/xfs_rtalloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index 385f6dceba5d..6be05f756d59 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include "xfs_inode_item.h" | 45 | #include "xfs_inode_item.h" |
46 | #include "xfs_trans_space.h" | 46 | #include "xfs_trans_space.h" |
47 | #include "xfs_utils.h" | 47 | #include "xfs_utils.h" |
48 | #include "xfs_trace.h" | ||
48 | 49 | ||
49 | 50 | ||
50 | /* | 51 | /* |
@@ -1516,6 +1517,8 @@ xfs_rtfree_range( | |||
1516 | */ | 1517 | */ |
1517 | error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, | 1518 | error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, |
1518 | &postblock); | 1519 | &postblock); |
1520 | if (error) | ||
1521 | return error; | ||
1519 | /* | 1522 | /* |
1520 | * If there are blocks not being freed at the front of the | 1523 | * If there are blocks not being freed at the front of the |
1521 | * old extent, add summary data for them to be allocated. | 1524 | * old extent, add summary data for them to be allocated. |