android_kernel_xiaomi_sm8350/fs/ufs
David Howells b55c460da6 iget: stop UFS from using iget() and read_inode()
Stop the UFS filesystem from using iget() and read_inode().  Replace
ufs_read_inode() with ufs_iget(), and call that instead of iget().  ufs_iget()
then uses iget_locked() directly and returns a proper error code instead of an
inode in the event of an error.

ufs_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: Evgeniy Dushistov <dushistov@mail.ru>
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:29 -08:00
..
balloc.c
cylinder.c
dir.c
file.c
ialloc.c
inode.c iget: stop UFS from using iget() and read_inode() 2008-02-07 08:42:29 -08:00
Makefile
namei.c iget: stop UFS from using iget() and read_inode() 2008-02-07 08:42:29 -08:00
super.c iget: stop UFS from using iget() and read_inode() 2008-02-07 08:42:29 -08:00
swab.h
symlink.c
truncate.c
ufs.h iget: stop UFS from using iget() and read_inode() 2008-02-07 08:42:29 -08:00
util.c
util.h