patch-2.1.9 linux/fs/affs/bitmap.c
Next file: linux/fs/affs/dir.c
Previous file: linux/fs/Config.in
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Nov 10 14:05:48 1996
- Orig file:
v2.1.8/linux/fs/affs/bitmap.c
- Orig date:
Sun May 19 15:22:19 1996
diff -u --recursive --new-file v2.1.8/linux/fs/affs/bitmap.c linux/fs/affs/bitmap.c
@@ -149,7 +149,7 @@
/* prealloc as much as possible within this word, but not in header zone */
if (zone_no) {
- while (inode->u.affs_i.i_pa_cnt < MAX_PREALLOC && ++fb < 32) {
+ while (inode->u.affs_i.i_pa_cnt < AFFS_MAX_PREALLOC && ++fb < 32) {
fb = find_next_zero_bit(&w,32,fb);
if (fb > 31)
break;
@@ -158,7 +158,7 @@
break;
}
inode->u.affs_i.i_data[inode->u.affs_i.i_pa_last++] = fwb + fb;
- inode->u.affs_i.i_pa_last &= MAX_PREALLOC - 1;
+ inode->u.affs_i.i_pa_last &= AFFS_MAX_PREALLOC - 1;
inode->u.affs_i.i_pa_cnt++;
az->az_free--;
}
@@ -309,7 +309,7 @@
inode->u.affs_i.i_pa_cnt--;
unlock_super(sb);
block = inode->u.affs_i.i_data[inode->u.affs_i.i_pa_next++];
- inode->u.affs_i.i_pa_next &= MAX_PREALLOC - 1;
+ inode->u.affs_i.i_pa_next &= AFFS_MAX_PREALLOC - 1;
goto init_block;
}
unlock_super(sb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov