Skip to content
Commit 9fa8e282 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0511fdb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment