aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r--fs/btrfs/file-item.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index 54a255065aa3..21aead39a76c 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -657,6 +657,9 @@ again:
657 goto found; 657 goto found;
658 } 658 }
659 ret = PTR_ERR(item); 659 ret = PTR_ERR(item);
660 if (ret != -EFBIG && ret != -ENOENT)
661 goto fail_unlock;
662
660 if (ret == -EFBIG) { 663 if (ret == -EFBIG) {
661 u32 item_size; 664 u32 item_size;
662 /* we found one, but it isn't big enough yet */ 665 /* we found one, but it isn't big enough yet */