ocfs2: Read from an unwritten extent returns zeros
commit49cb8d2d496ce06869ccca2ab368ed6b0b5b979d
authorMark Fasheh <mark.fasheh@oracle.com>
Sat, 10 Mar 2007 00:21:46 +0000 (9 16:21 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 26 Apr 2007 22:02:41 +0000 (26 15:02 -0700)
tree7aded7178e87dc26eb2ceafb169d7e68a8ee5ded
parente48edee2d8eab812f31f0ff62c6ba635ca2e1e21
ocfs2: Read from an unwritten extent returns zeros

Return an optional extent flags field from our lookup functions and wire up
callers to treat unwritten regions as holes for the purpose of returning
zeros to the user.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/aops.c
fs/ocfs2/dir.c
fs/ocfs2/extent_map.c
fs/ocfs2/extent_map.h
fs/ocfs2/file.c
fs/ocfs2/inode.c
fs/ocfs2/journal.c
fs/ocfs2/namei.c
fs/ocfs2/slot_map.c