Skip to content

Commit

Permalink
Merge pull request zen-kernel#76 from sh0dow/master
Browse files Browse the repository at this point in the history
Fixed compilation for linux kernel < 3.3.0
  • Loading branch information
dorimanx committed Nov 18, 2015
2 parents 593e1ce + 26c7e4f commit 42635ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exfat_nls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 42635ed

Please sign in to comment.