patch-1.3.45 linux/fs/isofs/file.c
Next file: linux/fs/minix/bitmap.c
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Nov 26 19:23:10 1995
- Orig file:
v1.3.44/linux/fs/isofs/file.c
- Orig date:
Thu Nov 9 11:23:51 1995
diff -u --recursive --new-file v1.3.44/linux/fs/isofs/file.c linux/fs/isofs/file.c
@@ -184,7 +184,7 @@
--blocks;
*bhb = getblk(inode->i_dev,isofs_bmap(inode, block++), ISOFS_BUFFER_SIZE(inode));
uptodate = 1;
- if (*bhb && !(*bhb)->b_uptodate) {
+ if (*bhb && !buffer_uptodate(*bhb)) {
uptodate = 0;
bhreq[bhrequest++] = *bhb;
};
@@ -207,7 +207,7 @@
do{ /* Finish off all I/O that has actually completed */
if (*bhe) {/* test for valid buffer */
wait_on_buffer(*bhe);
- if (!(*bhe)->b_uptodate) {
+ if (!buffer_uptodate(*bhe)) {
brelse(*bhe);
if (++bhe == &buflist[NBUF])
bhe = buflist;
@@ -239,7 +239,7 @@
offset = 0;
if (++bhe == &buflist[NBUF])
bhe = buflist;
- } while( bhe != bhb && (*bhe == 0 || !(*bhe)->b_lock) &&
+ } while( bhe != bhb && (*bhe == 0 || !buffer_locked(*bhe)) &&
(left > 0));
} while (left > 0);
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