iget-stop-jfs-from-using-iget-and-read_inode-try
commit0bad861a3a2b6a7d12022d4a0050438c932699cf
authorDavid Howells <dhowells@redhat.com>
Sat, 27 Oct 2007 07:52:54 +0000 (27 07:52 +0000)
committerMatthias Urlichs <smurf@hera.kernel.org>
Wed, 14 Nov 2007 11:30:59 +0000 (14 11:30 +0000)
treeff8cb6288d80da6bc2e55939644818bab97012af
parentaeb0bb6b0f530d46742d4bc6f9e82e9f74267b13
iget-stop-jfs-from-using-iget-and-read_inode-try

Stop the JFS filesystem from using iget() and read_inode().  Replace
jfs_read_inode() with jfs_iget(), and call that instead of iget().  jfs_iget()
then uses iget_locked() directly and returns a proper error code instead of an
inode in the event of an error.

jfs_fill_super() returns any error incurred when getting the root inode
instead of EINVAL.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/jfs/inode.c
fs/jfs/jfs_inode.h
fs/jfs/namei.c
fs/jfs/super.c