diff options
Diffstat (limited to 'sys/ofed/include/linux/linux_compat.c')
-rw-r--r-- | sys/ofed/include/linux/linux_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ofed/include/linux/linux_compat.c b/sys/ofed/include/linux/linux_compat.c index 4dbdad9..80d1e1e 100644 --- a/sys/ofed/include/linux/linux_compat.c +++ b/sys/ofed/include/linux/linux_compat.c @@ -267,6 +267,8 @@ linux_dev_close(struct cdev *dev, int fflag, int devtype, struct thread *td) if ((error = devfs_get_cdevpriv((void **)&filp)) != 0) return (error); filp->f_flags = file->f_flag; + devfs_clear_cdevpriv(); + return (0); } |