fs/romfs: correct error-handling code
authorJulia Lawall <julia@diku.dk>
Tue, 28 Jul 2009 15:54:58 +0000 (17:54 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Sep 2009 11:47:37 +0000 (07:47 -0400)
commit88a0a53d702b1fa39ed9e631939d2dbd92dfe486
tree629d4b643272ca96da216eb4279d47429eaa95bb
parentf84398068d9c2babe41500504ef247ae07081857
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: Julia Lawall <julia@diku.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/romfs/super.c