blob: bf922a3b8dc4c78c6c6bd8b686326f64df69cb36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/include/linux/union.h
+++ b/include/linux/union.h
@@ -77,7 +77,7 @@
#define __union_copyup(x, y, z) ({ BUG(); (0); })
#define union_copyup(x, y) ({ (0); })
#define union_copyup_dir(x) ({ BUG(); (0); })
-#define union_permission(x, y) inode_permission(x->dentry->d_inode, y)
+#define union_permission(x, y) inode_permission((x)->dentry->d_inode, y)
#endif /* CONFIG_UNION_MOUNT */
#endif /* __KERNEL__ */
|