adbb5de233
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
15 lines
468 B
Diff
15 lines
468 B
Diff
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;
|