mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
Btrfs: Off by one fixes in extent_map.c
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
f578d4bd7e
commit
65555a06b4
2 changed files with 6 additions and 5 deletions
|
@ -616,6 +616,7 @@ static int btrfs_truncate_in_trans(struct btrfs_trans_handle *trans,
|
|||
break;
|
||||
}
|
||||
btrfs_set_key_type(&key, found_type);
|
||||
btrfs_release_path(root, path);
|
||||
continue;
|
||||
}
|
||||
if (found_key.offset >= inode->i_size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue