readpage.c (592ddec7578a33fb6b3e2ba78aed91614bbb30e2) readpage.c (643fa9612bf1a29153eee46fd398117632f93cbe)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/ext4/readpage.c
4 *
5 * Copyright (C) 2002, Linus Torvalds.
6 * Copyright (C) 2015, Google, Inc.
7 *
8 * This was originally taken from fs/mpage.c

--- 35 unchanged lines hidden (view full) ---

44#include <linux/backing-dev.h>
45#include <linux/pagevec.h>
46#include <linux/cleancache.h>
47
48#include "ext4.h"
49
50static inline bool ext4_bio_encrypted(struct bio *bio)
51{
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * linux/fs/ext4/readpage.c
4 *
5 * Copyright (C) 2002, Linus Torvalds.
6 * Copyright (C) 2015, Google, Inc.
7 *
8 * This was originally taken from fs/mpage.c

--- 35 unchanged lines hidden (view full) ---

44#include <linux/backing-dev.h>
45#include <linux/pagevec.h>
46#include <linux/cleancache.h>
47
48#include "ext4.h"
49
50static inline bool ext4_bio_encrypted(struct bio *bio)
51{
52#ifdef CONFIG_EXT4_FS_ENCRYPTION
52#ifdef CONFIG_FS_ENCRYPTION
53 return unlikely(bio->bi_private != NULL);
54#else
55 return false;
56#endif
57}
58
59/*
60 * I/O completion handler for multipage BIOs.

--- 234 unchanged lines hidden ---
53 return unlikely(bio->bi_private != NULL);
54#else
55 return false;
56#endif
57}
58
59/*
60 * I/O completion handler for multipage BIOs.

--- 234 unchanged lines hidden ---