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

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)