Serge E. Hallyn | 08ce5f1 | 2008-04-29 01:00:10 -0700 | [diff] [blame] | 1 | #include <linux/module.h> |
2 | #include <linux/fs.h> | ||||
3 | |||||
4 | #ifdef CONFIG_CGROUP_DEVICE | ||||
5 | extern int devcgroup_inode_permission(struct inode *inode, int mask); | ||||
6 | extern int devcgroup_inode_mknod(int mode, dev_t dev); | ||||
7 | #else | ||||
8 | static inline int devcgroup_inode_permission(struct inode *inode, int mask) | ||||
9 | { return 0; } | ||||
10 | static inline int devcgroup_inode_mknod(int mode, dev_t dev) | ||||
11 | { return 0; } | ||||
12 | #endif |