mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
btrfs: drop gfp_t from lock_extent
lock_extent and unlock_extent are always called with GFP_NOFS, drop the argument and use GFP_NOFS consistently. Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
parent
143bede527
commit
d0082371cf
9 changed files with 63 additions and 76 deletions
|
@ -332,7 +332,7 @@ static int verify_parent_transid(struct extent_io_tree *io_tree,
|
|||
return 0;
|
||||
|
||||
lock_extent_bits(io_tree, eb->start, eb->start + eb->len - 1,
|
||||
0, &cached_state, GFP_NOFS);
|
||||
0, &cached_state);
|
||||
if (extent_buffer_uptodate(io_tree, eb, cached_state) &&
|
||||
btrfs_header_generation(eb) == parent_transid) {
|
||||
ret = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue