patch-2.1.43 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: 9
- Date:
Thu Jun 12 16:22:07 1997
- Orig file:
v2.1.42/linux/drivers/sbus/char/vfc_dev.c
- Orig date:
Tue May 13 22:41:12 1997
diff -u --recursive --new-file v2.1.42/linux/drivers/sbus/char/vfc_dev.c linux/drivers/sbus/char/vfc_dev.c
@@ -581,7 +581,7 @@
vma->vm_page_prot, dev->which_io);
if(ret) return -EAGAIN;
vma->vm_inode=inode;
- inode->i_count++;
+ atomic_inc(&inode->i_count);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov