JFS: Check for invalid inodes in jfs_delete_inode
authorDave Kleikamp <shaggy@austin.ibm.com>
Mon, 1 Aug 2005 21:54:26 +0000 (16:54 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Mon, 1 Aug 2005 21:54:26 +0000 (16:54 -0500)
commit30db1ae8640d3527ca7ac8df4bcbf14ccc6ae9cd
treef42fc0f8fc07dcd0c2cc15aa31566a321a8f2a30
parentda28c12089dfcfb8695b6b555cdb8e03dda2b690
JFS: Check for invalid inodes in jfs_delete_inode

Some error paths may iput an invalid inode with i_nlink=0.  jfs should
not try to actually delete such an inode.

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