JFS: Fix i_blocks accounting when allocation fails
authorDave Kleikamp <shaggy@austin.ibm.com>
Tue, 26 Jul 2005 14:29:13 +0000 (09:29 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Tue, 26 Jul 2005 14:29:13 +0000 (09:29 -0500)
commit18190cc08d70a6ec8ef69f0f6ede021f7cb3f9b8
tree5e1d35d247e5ddd549283e0d71bb7810c04b02f1
parentc2783f3a625b2aba943ef94623e277557a91a448
JFS: Fix i_blocks accounting when allocation fails

A failure in dbAlloc caused a directory's i_blocks to be incorrectly
incremented, causing jfs_fsck to find the inode to be corrupt.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_dtree.c