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