summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/mips-ext3-n32.patch
blob: fcb6f9177c7d0bb98d09138e9dfe0e222b461ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Dirty patch that makes ext3 work again on 3.5 and 3.6 kernels,
on mips n32.

http://www.linux-mips.org/archives/linux-mips/2012-11/msg00030.html

diff --git a/fs/ext3/dir.c b/fs/ext3/dir.c
index 92490e9..bf63d7b 100644
--- a/fs/ext3/dir.c
+++ b/fs/ext3/dir.c
@@ -228,6 +228,7 @@ out:
 
 static inline int is_32bit_api(void)
 {
+	return 1;
 #ifdef CONFIG_COMPAT
 	return is_compat_task();
 #else