ocfs2: Fix max offset calculations
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 20 Jul 2007 19:56:16 +0000 (12:56 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 10 Aug 2007 00:25:49 +0000 (17:25 -0700)
commit5a25403175b8a945e93fc9c64ae9cf54f5730add
treeb40693ea1e35ba8679c9b89ca91e92be3352748b
parentce76fd30ce98cdaeb38dca0dfbb3fa6d2801c5ce
ocfs2: Fix max offset calculations

ocfs2_max_file_offset() was over-estimating the largest file size for
several cases. This wasn't really a problem before, but now that we support
sparse files, it needs to be more accurate.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/super.c