]> git.karo-electronics.de Git - karo-tx-linux.git/commit
JFS: skip bad iput() call in error path
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Wed, 21 May 2008 15:45:16 +0000 (10:45 -0500)
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>
Wed, 21 May 2008 15:45:16 +0000 (10:45 -0500)
commit6536d2891ba2c4e837ba8478dc13bb173ed24a23
tree22faac43152fb205f925bcec9c1c003573147a01
parentb2e03ca7485cac033a0667d9e45e28d32fdee9a5
JFS: skip bad iput() call in error path

If jfs_iget() fails, we can't call iput() on the returned error.
Thanks to Eric Sesterhenn's fuzzer testing for reporting the problem.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
fs/jfs/super.c