Skip to content
Commit 88a0a53d authored by Julia Lawall's avatar Julia Lawall Committed by Al Viro
Browse files

fs/romfs: correct error-handling code



romfs_fill_super() assumes that romfs_iget() returns NULL when
it fails.  romfs_iget() actually returns ERR_PTR(-ve) in that
case...

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f8439806
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