Whamcloud - gitweb
LU-15858 sec: reinstate null encryption for file names
[fs/lustre-release.git] / libcfs / include / libcfs / crypto / llcrypt.h
index b98e551..f1b207d 100644 (file)
@@ -753,7 +753,7 @@ static inline int llcrypt_prepare_symlink(struct inode *dir,
                                          struct llcrypt_str *disk_link)
 {
        if ((IS_ENCRYPTED(dir) &&
-            likely(llcrypt_policy_has_filename_enc(dir))) ||
+            llcrypt_policy_has_filename_enc(dir)) ||
            llcrypt_dummy_context_enabled(dir))
                return __llcrypt_prepare_symlink(dir, len, max_len, disk_link);