diff options
| author | Josef Bacik <[email protected]> | 2021-11-24 14:14:24 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-01-07 14:18:23 +0100 |
| commit | 120de408e4b97504a2d9b5ca534b383de2c73d49 (patch) | |
| tree | e66ce56ef7c73424f7605eb9edc326a6f9f563d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | a174c0a2e857081195db6888323802f0fae793ef (diff) | |
btrfs: check the root node for uptodate before returning it
Now that we clear the extent buffer uptodate if we fail to write it out
we need to check to see if our root node is uptodate before we search
down it. Otherwise we could return stale data (or potentially corrupt
data that was caught by the write verification step) and think that the
path is OK to search down.
CC: [email protected] # 5.4+
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions