hfsplus: Fix double iput of the same inode in hfsplus_fill_super()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Thu, 23 Jun 2011 21:15:02 +0000 (01:15 +0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 30 Jun 2011 11:38:39 +0000 (13:38 +0200)
There is a misprint in resource deallocation code on error path in
hfsplus_fill_super(): the sbi->alloc_file inode is iput twice,
while the root inode in not iput at all.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Christoph Hellwig <hch@lst.de>

No differences found