From a00cce356b5592208e761525a48a25902322cce9 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Fri, 20 Jul 2007 11:28:30 -0700 Subject: 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 --- fs/ocfs2/super.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'fs/ocfs2/super.h') diff --git a/fs/ocfs2/super.h b/fs/ocfs2/super.h index 3b9cb3d0b00..783f5270f2a 100644 --- a/fs/ocfs2/super.h +++ b/fs/ocfs2/super.h @@ -45,6 +45,4 @@ void __ocfs2_abort(struct super_block *sb, #define ocfs2_abort(sb, fmt, args...) __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##args) -unsigned long long ocfs2_max_file_offset(unsigned int blockshift); - #endif /* OCFS2_SUPER_H */ -- cgit v1.2.3-18-g5258