Skip to content

Commit 42635ed

Browse files
committed
Merge pull request zen-kernel#76 from sh0dow/master
Fixed compilation for linux kernel < 3.3.0
2 parents 593e1ce + 26c7e4f commit 42635ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exfat_nls.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void nls_cstring_to_uniname(struct super_block *sb, UNI_NAME_T *p_uniname, u8 *p
353353
lossy = TRUE;
354354

355355
if (nls == NULL) {
356-
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
356+
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,101)
357357
i = utf8s_to_utf16s(p_cstring, MAX_NAME_LENGTH, uniname);
358358
#else
359359
i = utf8s_to_utf16s(p_cstring, MAX_NAME_LENGTH, UTF16_HOST_ENDIAN, uniname, MAX_NAME_LENGTH);

0 commit comments

Comments
 (0)