aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDave Young <[email protected]>2008-03-19 17:01:01 -0700
committerLinus Torvalds <[email protected]>2008-03-19 18:53:36 -0700
commit08ca0db8aa2db4ddcf487d46d85dc8ffb22162cc (patch)
tree3cb882dd0bc473bcb397752c9894d35ec0a918d7 /lib/debugobjects.c
parenta6b91919e0881a0d0a4ae5211d5c879a8c7ca92b (diff)
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 <[email protected]> Acked-by: Jan Kara <[email protected]> Report-by: Christian Perle <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions