Message ID | 20190811213557.1970-5-ebiggers@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | fs-verity fixups | expand |
diff --git a/fs/ext4/readpage.c b/fs/ext4/readpage.c index ec8aeab3af65a..a30b203fa461c 100644 --- a/fs/ext4/readpage.c +++ b/fs/ext4/readpage.c @@ -52,15 +52,6 @@ static struct kmem_cache *bio_post_read_ctx_cache; static mempool_t *bio_post_read_ctx_pool; -static inline bool ext4_bio_encrypted(struct bio *bio) -{ -#ifdef CONFIG_FS_ENCRYPTION - return unlikely(bio->bi_private != NULL); -#else - return false; -#endif -} - /* postprocessing steps for read bios */ enum bio_post_read_step { STEP_INITIAL = 0,