From ed213eda1ce627ac83676c54bbfe49a505533a0f Mon Sep 17 00:00:00 2001 From: Blagovest Kolenichev Date: Thu, 19 Oct 2017 06:30:23 -0700 Subject: [PATCH] f2fs: cleanup not used anymore max_file_size() Remove declaration of function max_file_size(). It was added with: 63ba8a3 BACKPORT: f2fs: add a max block check for get_data_block_bmap On merging of android-4.4@d68ba9f (4.4.89) functional part of the above change was replaced with the upstream's one, which do not use max_file_size() and also this function was renamed to max_file_blocks() in its definition with change c1286ff. In android-4.4 this func was static, hence no declaration line in f2fs.h and this is why it was left alone in msm-4.4 without to be noticed. c1286ff f2fs: backport from (4c1fad64 - Merge tag 'for-f2fs-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs) Change-Id: I197e8fa912f645f49acd1f97180944e303f3d314 Signed-off-by: Blagovest Kolenichev --- fs/f2fs/f2fs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index eb01a0329e90..3ef2d93ab936 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2088,7 +2088,6 @@ static inline int f2fs_add_link(struct dentry *dentry, struct inode *inode) int f2fs_inode_dirtied(struct inode *, bool); void f2fs_inode_synced(struct inode *); int f2fs_commit_super(struct f2fs_sb_info *, bool); -loff_t max_file_size(unsigned bits); int f2fs_sync_fs(struct super_block *, int); extern __printf(3, 4) void f2fs_msg(struct super_block *, const char *, const char *, ...);