|
@@ -414,9 +414,6 @@ int cachefiles_read_or_alloc_page(struct fscache_retrieval *op,
|
|
|
ASSERT(inode->i_mapping->a_ops->readpages);
|
|
|
|
|
|
/* calculate the shift required to use bmap */
|
|
|
- if (inode->i_sb->s_blocksize > PAGE_SIZE)
|
|
|
- goto enobufs;
|
|
|
-
|
|
|
shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits;
|
|
|
|
|
|
op->op.flags &= FSCACHE_OP_KEEP_FLAGS;
|
|
@@ -711,9 +708,6 @@ int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op,
|
|
|
ASSERT(inode->i_mapping->a_ops->readpages);
|
|
|
|
|
|
/* calculate the shift required to use bmap */
|
|
|
- if (inode->i_sb->s_blocksize > PAGE_SIZE)
|
|
|
- goto all_enobufs;
|
|
|
-
|
|
|
shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits;
|
|
|
|
|
|
pagevec_init(&pagevec, 0);
|