WSL2-Linux-Kernel/fs/affs
David Howells 210f855963 iget: stop AFFS from using iget() and read_inode()
Stop the AFFS filesystem from using iget() and read_inode().  Replace
affs_read_inode() with affs_iget(), and call that instead of iget().
affs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.

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

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
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>
2008-02-07 08:42:27 -08:00
..
Changes Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
affs.h iget: stop AFFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
amigaffs.c iget: stop AFFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
bitmap.c fs: mark nibblemap const 2007-10-17 08:42:47 -07:00
dir.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
file.c fs: affs convert to new aops 2007-10-16 09:42:58 -07:00
inode.c iget: stop AFFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
namei.c iget: stop AFFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
super.c iget: stop AFFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
symlink.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00