iget: introduce a function to register iget failure
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Feb 2008 08:15:27 +0000 (00:15 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:26 +0000 (08:42 -0800)
commitb46980feed937868d3333514028bfbe9a651e4ca
tree97e610932986223932887af3c0ea00234856e540
parente231c2ee64eb1c5cd3c63c31da9dac7d888dcf7f
iget: introduce a function to register iget failure

Introduce a function to register failure in an inode construction path.  This
includes marking the inode under construction as bad, unlocking it and
releasing it.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/porting
fs/bad_inode.c
include/linux/fs.h