Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

hpfs: handle allocation failures in hpfs_add_pos()



pr_err() is nice, but we'd better propagate the error
to caller and not proceed to violate the invariants
(namely, "every file with f_pos tied to directory block
should have its address visible in per-inode array").

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1d1bb236
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment