hpfs: handle allocation failures in hpfs_add_pos()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 23:35:57 +0000 (19:35 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 May 2016 23:35:57 +0000 (19:35 -0400)
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: Al Viro <viro@zeniv.linux.org.uk>

No differences found