summaryrefslogblamecommitdiffstats
path: root/include/linux/device_cgroup.h
blob: 0b0d9c39ed670d10c1ddf7d9863fbbb67cfd356b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                           
#include <linux/module.h>
#include <linux/fs.h>

#ifdef CONFIG_CGROUP_DEVICE
extern int devcgroup_inode_permission(struct inode *inode, int mask);
extern int devcgroup_inode_mknod(int mode, dev_t dev);
#else
static inline int devcgroup_inode_permission(struct inode *inode, int mask)
{ return 0; }
static inline int devcgroup_inode_mknod(int mode, dev_t dev)
{ return 0; }
#endif