aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/inode-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode-map.c b/fs/btrfs/inode-map.c
index 014de497e888..ec08004a6a20 100644
--- a/fs/btrfs/inode-map.c
+++ b/fs/btrfs/inode-map.c
@@ -237,7 +237,7 @@ again:
237 start_caching(root); 237 start_caching(root);
238 238
239 if (objectid <= root->cache_progress || 239 if (objectid <= root->cache_progress ||
240 objectid > root->highest_objectid) 240 objectid >= root->highest_objectid)
241 __btrfs_add_free_space(ctl, objectid, 1); 241 __btrfs_add_free_space(ctl, objectid, 1);
242 else 242 else
243 __btrfs_add_free_space(pinned, objectid, 1); 243 __btrfs_add_free_space(pinned, objectid, 1);