aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorBoris Burkov <[email protected]>2023-12-01 13:00:12 -0800
committerDavid Sterba <[email protected]>2023-12-06 22:32:52 +0100
commita86805504b88f636a6458520d85afdf0634e3c6b (patch)
tree2dff8f9bbc89708cef9379c493f35bf92bb6ccd2 /net/ipv4/tcp_input.c
parentb321a52cce062ec7ed385333a33905d22159ce36 (diff)
btrfs: don't clear qgroup reserved bit in release_folio
The EXTENT_QGROUP_RESERVED bit is used to "lock" regions of the file for duplicate reservations. That is two writes to that range in one transaction shouldn't create two reservations, as the reservation will only be freed once when the write finally goes down. Therefore, it is never OK to clear that bit without freeing the associated qgroup reserve. At this point, we don't want to be freeing the reserve, so mask off the bit. CC: [email protected] # 5.15+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Boris Burkov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions