patch-2.3.9 linux/fs/sysv/fsync.c
Next file: linux/fs/sysv/inode.c
Previous file: linux/fs/sysv/file.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Tue Jun 29 09:22:08 1999
-  Orig file: 
v2.3.8/linux/fs/sysv/fsync.c
-  Orig date: 
Sun Sep 13 12:12:34 1998
diff -u --recursive --new-file v2.3.8/linux/fs/sysv/fsync.c linux/fs/sysv/fsync.c
@@ -54,7 +54,7 @@
 		return 0;
 	}
 	ll_rw_block(WRITE, 1, &bh);
-	bh->b_count--;
+	atomic_dec(&bh->b_count);
 	return 0;
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)