diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-10-26 09:12:10 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-10-26 17:42:54 +0000 |
| commit | 9480b4e75b7108ee68ecf5bc6b4bd68e8031c521 (patch) | |
| tree | 09602288708b3824dbc539c5f14d96315a7107a1 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | Merge tag 's390-5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390... (diff) | |
| download | kernel-9480b4e75b7108ee68ecf5bc6b4bd68e8031c521.tar.gz kernel-9480b4e75b7108ee68ecf5bc6b4bd68e8031c521.zip | |
cachefiles: Handle readpage error correctly
If ->readpage returns an error, it has already unlocked the page.
Fixes: 5e929b33c393 ("CacheFiles: Handle truncate unlocking the page we're reading")
Cc: [email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
