diff options
Diffstat (limited to 'fs/cachefiles/rdwr.c')
-rw-r--r-- | fs/cachefiles/rdwr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c index a69787e7dd96..3304646dae84 100644 --- a/fs/cachefiles/rdwr.c +++ b/fs/cachefiles/rdwr.c | |||
@@ -333,7 +333,8 @@ int cachefiles_read_or_alloc_page(struct fscache_retrieval *op, | |||
333 | 333 | ||
334 | shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits; | 334 | shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits; |
335 | 335 | ||
336 | op->op.flags = FSCACHE_OP_FAST; | 336 | op->op.flags &= FSCACHE_OP_KEEP_FLAGS; |
337 | op->op.flags |= FSCACHE_OP_FAST; | ||
337 | op->op.processor = cachefiles_read_copier; | 338 | op->op.processor = cachefiles_read_copier; |
338 | 339 | ||
339 | pagevec_init(&pagevec, 0); | 340 | pagevec_init(&pagevec, 0); |
@@ -639,7 +640,8 @@ int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op, | |||
639 | 640 | ||
640 | pagevec_init(&pagevec, 0); | 641 | pagevec_init(&pagevec, 0); |
641 | 642 | ||
642 | op->op.flags = FSCACHE_OP_FAST; | 643 | op->op.flags &= FSCACHE_OP_KEEP_FLAGS; |
644 | op->op.flags |= FSCACHE_OP_FAST; | ||
643 | op->op.processor = cachefiles_read_copier; | 645 | op->op.processor = cachefiles_read_copier; |
644 | 646 | ||
645 | INIT_LIST_HEAD(&backpages); | 647 | INIT_LIST_HEAD(&backpages); |