ocfs2: Fix up i_blocks calculation to know about holes
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 22 Mar 2007 23:53:23 +0000 (16:53 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 26 Apr 2007 22:07:40 +0000 (15:07 -0700)
commit8110b073a9135acf0a71bccfc20c0d1023f179c6
treeb668738e25648f3fcfd7b1063ab8d4948cebc668
parent4f902c37727bbedbc0508a1477874c58ddcc9af8
ocfs2: Fix up i_blocks calculation to know about holes

Older file systems which didn't support holes did a dumb calculation of
i_blocks based on i_size. This is no longer accurate, so fix things up to
take actual allocation into account.

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