]> git.baikalelectronics.ru Git - kernel.git/commit
ubifs: dereferencing an ERR_PTR in ubifs_mount()
authorDan Carpenter <error27@gmail.com>
Mon, 20 Jun 2011 07:10:24 +0000 (10:10 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:42:34 +0000 (10:42 -0400)
commitb4de2ee9b97b400cd8678ffba3dba5f743ca5fda
tree203f91dbfdb21f29de119cf79ccfed3bf2b15d31
parent2f51d336247e400502e2023a10639f076f6e029c
ubifs: dereferencing an ERR_PTR in ubifs_mount()

62b76fb387f "ubifs: fix sget races" left out the goto from this
error path so the static checkers complain that we're dereferencing
"sb" when it's an ERR_PTR.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ubifs/super.c