diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 28a5a153436669109cf982084eeb779ab2225fe0..1297b63d1a84add7845192c00edc58556aac828f 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4269,8 +4269,6 @@ static int try_release_extent_state(struct extent_map_tree *map, EXTENT_IOBITS, 0, NULL)) ret = 0; else { - if ((mask & GFP_NOFS) == GFP_NOFS) - mask = GFP_NOFS; /* * at this point we can safely clear everything except the * locked bit and the nodatasum bit