aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_dir2_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_node.c')
-rw-r--r--fs/xfs/libxfs/xfs_dir2_node.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_dir2_node.c b/fs/xfs/libxfs/xfs_dir2_node.c
index 63ee03db796c..75a557432d0f 100644
--- a/fs/xfs/libxfs/xfs_dir2_node.c
+++ b/fs/xfs/libxfs/xfs_dir2_node.c
@@ -2235,6 +2235,9 @@ xfs_dir2_node_trim_free(
2235 2235
2236 dp = args->dp; 2236 dp = args->dp;
2237 tp = args->trans; 2237 tp = args->trans;
2238
2239 *rvalp = 0;
2240
2238 /* 2241 /*
2239 * Read the freespace block. 2242 * Read the freespace block.
2240 */ 2243 */
@@ -2255,7 +2258,6 @@ xfs_dir2_node_trim_free(
2255 */ 2258 */
2256 if (freehdr.nused > 0) { 2259 if (freehdr.nused > 0) {
2257 xfs_trans_brelse(tp, bp); 2260 xfs_trans_brelse(tp, bp);
2258 *rvalp = 0;
2259 return 0; 2261 return 0;
2260 } 2262 }
2261 /* 2263 /*