2009-09-26 08:52:09 +00:00
|
|
|
--- a/include/linux/union.h
|
|
|
|
+++ b/include/linux/union.h
|
2009-09-26 13:29:13 +00:00
|
|
|
@@ -77,7 +77,7 @@ extern int union_permission(struct path
|
2009-09-26 08:52:09 +00:00
|
|
|
#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__ */
|