patch-2.1.97 linux/drivers/sbus/char/vfc_dev.c
Next file: linux/drivers/sbus/char/weitek.c
Previous file: linux/drivers/sbus/char/tcx.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Apr 14 17:44:22 1998
- Orig file:
v2.1.96/linux/drivers/sbus/char/vfc_dev.c
- Orig date:
Tue Feb 17 13:12:46 1998
diff -u --recursive --new-file v2.1.96/linux/drivers/sbus/char/vfc_dev.c linux/drivers/sbus/char/vfc_dev.c
@@ -582,7 +582,8 @@
if(ret)
return -EAGAIN;
- vma->vm_dentry = dget(file->f_dentry);
+ vma->vm_file = file;
+ file->f_count++;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov