patch-2.1.43 linux/drivers/block/loop.c
Next file: linux/drivers/block/md.c
Previous file: linux/drivers/block/ide.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jun 12 16:22:06 1997
- Orig file:
v2.1.42/linux/drivers/block/loop.c
- Orig date:
Tue May 13 22:41:05 1997
diff -u --recursive --new-file v2.1.42/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -318,7 +318,7 @@
}
lo->lo_inode = inode;
- lo->lo_inode->i_count++;
+ atomic_inc(&lo->lo_inode->i_count);
lo->transfer = NULL;
figure_loop_size(lo);
MOD_INC_USE_COUNT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov