Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6527e423 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

fs: f2fs: fix compilation issue



Fix compilation issue observed on 3.18 due to redefinition
of function get_data_block_bmap().

Change-Id: I892814566d6c279e5e96cc2eea0c32ae4e4cab9f
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 7c320cb9
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -1301,15 +1301,6 @@ next_page:
	return 0;
}

static int get_data_block_bmap(struct inode *inode, sector_t iblock,
			struct buffer_head *bh_result, int create)
{
	/* Block number less than F2FS MAX BLOCKS */
	if (unlikely(iblock >= max_file_size(0)))
		return -EFBIG;
	return get_data_block_ro(inode, iblock, bh_result, create);
}

static int f2fs_read_data_page(struct file *file, struct page *page)
{
	struct inode *inode = page->mapping->host;