diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 088afe07ddda..e57e8d90ea54 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -1115,8 +1115,7 @@ got: | |||
1115 | } | 1115 | } |
1116 | 1116 | ||
1117 | if (encrypt) { | 1117 | if (encrypt) { |
1118 | /* give pointer to avoid set_context with journal ops. */ | 1118 | err = fscrypt_inherit_context(dir, inode, handle, true); |
1119 | err = fscrypt_inherit_context(dir, inode, &encrypt, true); | ||
1120 | if (err) | 1119 | if (err) |
1121 | goto fail_free_drop; | 1120 | goto fail_free_drop; |
1122 | } | 1121 | } |