android_kernel_xiaomi_sm8350/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
..
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
Changes
dir.c
file.c
inode.c iget: stop AFFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
Makefile
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