diff options
Diffstat (limited to 'kernel/control.c')
-rw-r--r-- | kernel/control.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/control.c b/kernel/control.c index b17adb3..28956ef 100644 --- a/kernel/control.c +++ b/kernel/control.c @@ -74,7 +74,12 @@ static struct dentry *fuse_ctl_add_dentry(struct dentry *parent, const char *name, int mode, int nlink, struct inode_operations *iop, - struct file_operations *fop) +#ifdef KERNEL_2_6_17_PLUS + const struct file_operations *fop +#else + struct file_operations *fop +#endif +) { struct dentry *dentry; struct inode *inode; |