diff options
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r-- | fs/ext4/page-io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index c398b55da854..b9d6cabe2ea8 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c | |||
@@ -66,7 +66,7 @@ static void ext4_finish_bio(struct bio *bio) | |||
66 | 66 | ||
67 | bio_for_each_segment_all(bvec, bio, i) { | 67 | bio_for_each_segment_all(bvec, bio, i) { |
68 | struct page *page = bvec->bv_page; | 68 | struct page *page = bvec->bv_page; |
69 | #ifdef CONFIG_EXT4_FS_ENCRYPTION | 69 | #ifdef CONFIG_FS_ENCRYPTION |
70 | struct page *data_page = NULL; | 70 | struct page *data_page = NULL; |
71 | #endif | 71 | #endif |
72 | struct buffer_head *bh, *head; | 72 | struct buffer_head *bh, *head; |
@@ -78,7 +78,7 @@ static void ext4_finish_bio(struct bio *bio) | |||
78 | if (!page) | 78 | if (!page) |
79 | continue; | 79 | continue; |
80 | 80 | ||
81 | #ifdef CONFIG_EXT4_FS_ENCRYPTION | 81 | #ifdef CONFIG_FS_ENCRYPTION |
82 | if (!page->mapping) { | 82 | if (!page->mapping) { |
83 | /* The bounce data pages are unmapped. */ | 83 | /* The bounce data pages are unmapped. */ |
84 | data_page = page; | 84 | data_page = page; |
@@ -111,7 +111,7 @@ static void ext4_finish_bio(struct bio *bio) | |||
111 | bit_spin_unlock(BH_Uptodate_Lock, &head->b_state); | 111 | bit_spin_unlock(BH_Uptodate_Lock, &head->b_state); |
112 | local_irq_restore(flags); | 112 | local_irq_restore(flags); |
113 | if (!under_io) { | 113 | if (!under_io) { |
114 | #ifdef CONFIG_EXT4_FS_ENCRYPTION | 114 | #ifdef CONFIG_FS_ENCRYPTION |
115 | if (data_page) | 115 | if (data_page) |
116 | fscrypt_restore_control_page(data_page); | 116 | fscrypt_restore_control_page(data_page); |
117 | #endif | 117 | #endif |