Merge tag 'docs-5.6' of git://git.lwn.net/linux
[linux-2.6-microblaze.git] / fs / ext4 / dir.c
index 9f00fc0..4e09327 100644 (file)
@@ -120,7 +120,7 @@ static int ext4_readdir(struct file *file, struct dir_context *ctx)
 
        if (IS_ENCRYPTED(inode)) {
                err = fscrypt_get_encryption_info(inode);
-               if (err && err != -ENOKEY)
+               if (err)
                        return err;
        }