]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee9e8a5ab1e6b231514f59fe4e89c1403411fc55
treeb40693ea1e35ba8679c9b89ca91e92be3352748b
parent182f9dd1cdf52e2b7d6aa7a31093f7926819cb0a
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