]> Git Repo - linux.git/blobdiff - fs/crypto/inline_crypt.c
KVM: VMX: Wake vCPU when delivering posted IRQ even if vCPU == this vCPU
[linux.git] / fs / crypto / inline_crypt.c
index 89bffa82ed74aafba54a78539016c2635b2bec2f..c57bebfa48fea1dff615138f5612799598c406ff 100644 (file)
@@ -74,7 +74,7 @@ int fscrypt_select_encryption_impl(struct fscrypt_info *ci)
        int i;
 
        /* The file must need contents encryption, not filenames encryption */
-       if (!fscrypt_needs_contents_encryption(inode))
+       if (!S_ISREG(inode->i_mode))
                return 0;
 
        /* The crypto mode must have a blk-crypto counterpart */
This page took 0.040583 seconds and 4 git commands to generate.