Commit | Line | Data |
---|---|---|
08ce5f16 SH |
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 |