Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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