android_kernel_xiaomi_sm8350/fs/minix
David Howells a90a088021 iget: stop the MINIX filesystem from using iget() and read_inode()
Stop the MINIX filesystem from using iget() and read_inode().  Replace
minix_read_inode() with minix_iget(), and call that instead of iget().
minix_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.

minix_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>
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:28 -08:00
..
bitmap.c fs: mark nibblemap const 2007-10-17 08:42:47 -07:00
dir.c
file.c
inode.c iget: stop the MINIX filesystem from using iget() and read_inode() 2008-02-07 08:42:28 -08:00
itree_common.c
itree_v1.c limit minixfs printks on corrupted dir i_size 2007-10-17 08:42:53 -07:00
itree_v2.c limit minixfs printks on corrupted dir i_size 2007-10-17 08:42:53 -07:00
Makefile
minix.h iget: stop the MINIX filesystem from using iget() and read_inode() 2008-02-07 08:42:28 -08:00
namei.c iget: stop the MINIX filesystem from using iget() and read_inode() 2008-02-07 08:42:28 -08:00