diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/move_extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents.c index cd9427023d2e..d3433d60dbb9 100644 --- a/fs/ocfs2/move_extents.c +++ b/fs/ocfs2/move_extents.c | |||
@@ -746,7 +746,7 @@ static int ocfs2_move_extent(struct ocfs2_move_extents_context *context, | |||
746 | */ | 746 | */ |
747 | ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, | 747 | ocfs2_probe_alloc_group(inode, gd_bh, &goal_bit, len, move_max_hop, |
748 | new_phys_cpos); | 748 | new_phys_cpos); |
749 | if (!new_phys_cpos) { | 749 | if (!*new_phys_cpos) { |
750 | ret = -ENOSPC; | 750 | ret = -ENOSPC; |
751 | goto out_commit; | 751 | goto out_commit; |
752 | } | 752 | } |