mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 10:37:53 +07:00
13 lines
380 B
C
13 lines
380 B
C
|
#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
|