diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 73fadc7ead0e..a3c6e76f5a4e 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -6275,6 +6275,8 @@ next: | |||
6275 | goto not_found; | 6275 | goto not_found; |
6276 | if (start + len <= found_key.offset) | 6276 | if (start + len <= found_key.offset) |
6277 | goto not_found; | 6277 | goto not_found; |
6278 | if (start > found_key.offset) | ||
6279 | goto next; | ||
6278 | em->start = start; | 6280 | em->start = start; |
6279 | em->orig_start = start; | 6281 | em->orig_start = start; |
6280 | em->len = found_key.offset - start; | 6282 | em->len = found_key.offset - start; |