1 ext4 crypto: enables delayed allocation
3 From: Michael Halcrow <mhalcrow@google.com>
5 I had delayed allocation disabled because it seemed like the
6 conservative/safe thing to do during initial development of the
7 feature. However, it seems that we don't have much (if anything) to do
8 to support delayed allocation with encryption, so I'm re-enabling that
9 code path for further test and development.
11 Signed-off-by: Michael Halcrow <mhalcrow@google.com>
12 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
14 fs/ext4/inode.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
18 index 8b654c1..631c635 100644
21 @@ -2309,7 +2309,7 @@ static int ext4_writepages(struct address_space *mapping,
22 if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY))
25 - if (ext4_should_journal_data(inode) || ext4_is_encryption_enabled(ei)) {
26 + if (ext4_should_journal_data(inode)) {
29 blk_start_plug(&plug);
31 2.1.0.rc2.206.gedb03e5