summaryrefslogtreecommitdiffstats
path: root/main/ocfs2-tools/ocfs2-tools-1.6.4-umode_t.patch
blob: fb8b714082405d4f99328a84607b3329b57dede1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- ocfs2-tools-1.6.4/include/ocfs2-kernel/ocfs2_fs.h	2010-12-29 07:30:55.000000000 +0100
+++ ocfs2-tools-1.6.4.n/include/ocfs2-kernel/ocfs2_fs.h	2012-04-23 19:13:46.402253336 +0200
@@ -1638,7 +1638,7 @@
 }
 
 static inline void ocfs2_set_de_type(struct ocfs2_dir_entry *de,
-				    umode_t mode)
+				     unsigned short mode)
 {
 	de->file_type = ocfs2_type_by_mode[(mode & S_IFMT)>>S_SHIFT];
 }