patch-1.3.45 linux/fs/xiafs/bitmap.c

Next file: linux/fs/xiafs/file.c
Previous file: linux/fs/sysv/truncate.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.44/linux/fs/xiafs/bitmap.c linux/fs/xiafs/bitmap.c
@@ -227,7 +227,7 @@
     }
     bh = get_hash_table(sb->s_dev, d_addr, XIAFS_ZSIZE(sb));
     if (bh)
-        bh->b_dirt=0;
+        mark_buffer_clean(bh);
     brelse(bh);
     bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1;
     bh = get_zmap_zone(sb, bit, NULL);
@@ -269,7 +269,7 @@
 	return 0;
     }
     clear_buf(bh);
-    bh->b_uptodate = 1;
+    mark_buffer_uptodate(bh, 1);
     mark_buffer_dirty(bh, 1);
     brelse(bh);
     return tmp;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this