diff --git a/exfat_nls.c b/exfat_nls.c index 3cd559f..a48b3d0 100644 --- a/exfat_nls.c +++ b/exfat_nls.c @@ -353,7 +353,7 @@ void nls_cstring_to_uniname(struct super_block *sb, UNI_NAME_T *p_uniname, u8 *p lossy = TRUE; if (nls == NULL) { -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,101) i = utf8s_to_utf16s(p_cstring, MAX_NAME_LENGTH, uniname); #else i = utf8s_to_utf16s(p_cstring, MAX_NAME_LENGTH, UTF16_HOST_ENDIAN, uniname, MAX_NAME_LENGTH);