android_kernel_xiaomi_sm8350/fs/isofs
Dave Young 08ca0db8aa zisofs: fix readpage() outside i_size
A read request outside i_size will be handled in do_generic_file_read().  So
we just return 0 to avoid getting -EIO as normal reading, let
do_generic_file_read do the rest.

At the same time we need unlock the page to avoid system stuck.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=10227

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Acked-by: Jan Kara <jack@suse.cz>
Report-by: Christian Perle <chris@linuxinfotag.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-19 18:53:36 -07:00
..
compress.c zisofs: fix readpage() outside i_size 2008-03-19 18:53:36 -07:00
dir.c
export.c iget: stop ISOFS from using read_inode() 2008-02-07 08:42:28 -08:00
inode.c mount options: fix isofs 2008-02-08 09:22:40 -08:00
isofs.h isofs: implement dmode option 2008-02-08 09:22:38 -08:00
joliet.c
Makefile
namei.c iget: stop ISOFS from using read_inode() 2008-02-07 08:42:28 -08:00
rock.c iget: stop ISOFS from using read_inode() 2008-02-07 08:42:28 -08:00
rock.h
util.c
zisofs.h