diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-02-03 09:17:34 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-02-25 10:10:32 +0300 |
commit | 9fa8e282c2bfe93338e81a620a49f5903a745231 (patch) | |
tree | f917ad4973fd6376d0139e46acd9d063b993fb34 /rust/helpers.c | |
parent | 0511fdb4a378183ca18a9678d3d9044c8ec592c2 (diff) | |
download | linux-9fa8e282c2bfe93338e81a620a49f5903a745231.tar.xz |
ext4_get_link(): fix breakage in RCU mode
1) errors from ext4_getblk() should not be propagated to caller
unless we are really sure that we would've gotten the same error
in non-RCU pathwalk.
2) we leak buffer_heads if ext4_getblk() is successful, but bh is
not uptodate.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions