ocfs2: use s_maxbytes directly in ocfs2_change_file_space()
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 20 Jul 2007 18:28:30 +0000 (11:28 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 10 Aug 2007 00:25:07 +0000 (17:25 -0700)
commita00cce356b5592208e761525a48a25902322cce9
treeea965cdda9b4d2b8a156aaa6e54498351577fb3f
parentc11e9fafb398411af7558fca913c2fa4a10b1f48
ocfs2: use s_maxbytes directly in ocfs2_change_file_space()

There's no need to recalculate things via ocfs2_max_file_offset() as we've
already done that to fill s_maxbytes, so use that instead. We can also
un-export ocfs2_max_file_offset() then.

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