Accepting request 115250 from home:dimstar:gcc47
Fix build against kernel 3.3... umode_t has vanished... OBS-URL: https://build.opensuse.org/request/show/115250 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=36
This commit is contained in:
14
ocfs2-tools-kernel33.patch
Normal file
14
ocfs2-tools-kernel33.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: ocfs2-tools/include/ocfs2-kernel/ocfs2_fs.h
|
||||
===================================================================
|
||||
--- ocfs2-tools.orig/include/ocfs2-kernel/ocfs2_fs.h
|
||||
+++ ocfs2-tools/include/ocfs2-kernel/ocfs2_fs.h
|
||||
@@ -316,6 +316,9 @@
|
||||
*/
|
||||
#define OCFS2_CLUSTER_O2CB_GLOBAL_HEARTBEAT (0x01)
|
||||
|
||||
+// Reintroduce umode_t, which disappeared in kernel 3.3
|
||||
+typedef unsigned short umode_t;
|
||||
+
|
||||
struct ocfs2_system_inode_info {
|
||||
char *si_name;
|
||||
int si_iflags;
|
Reference in New Issue
Block a user