iget-stop-efs-from-using-iget-and-read_inode-try
commit68a9403ae768f59e60de1be6953724e8ecd741d2
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:54 +0000 (14 11:30 +0000)
treeb516f9d048974f1e304e1a2918a3d48a96131871
parentb1a415875b9b9784088344159a663392dd19f1b2
iget-stop-efs-from-using-iget-and-read_inode-try

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

efs_fill_super() returns any error incurred when getting the root inode
instead of EACCES.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/efs/inode.c
fs/efs/namei.c
fs/efs/super.c
include/linux/efs_fs.h