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 ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
cylinder.c ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
dir.c ufs: fix nexstep dir block size 2007-12-05 09:21:18 -08:00
file.c ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
ialloc.c ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
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 ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
truncate.c ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
ufs.h iget: stop UFS from using iget() and read_inode() 2008-02-07 08:42:29 -08:00
util.c ufs: move non-layout parts of ufs_fs.h to fs/ufs/ 2007-10-17 08:42:51 -07:00
util.h