patch-2.4.9 linux/fs/ufs/truncate.c
Next file: linux/fs/ufs/util.c
Previous file: linux/fs/ufs/file.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 15 01:22:17 2001
- Orig file:
v2.4.8/linux/fs/ufs/truncate.c
- Orig date:
Tue Mar 6 19:44:37 2001
diff -u --recursive --new-file v2.4.8/linux/fs/ufs/truncate.c linux/fs/ufs/truncate.c
@@ -88,7 +88,7 @@
retry = 0;
frag1 = DIRECT_FRAGMENT;
- frag4 = min (UFS_NDIR_FRAGMENT, inode->u.ufs_i.i_lastfrag);
+ frag4 = min(u32, UFS_NDIR_FRAGMENT, inode->u.ufs_i.i_lastfrag);
frag2 = ((frag1 & uspi->s_fpbmask) ? ((frag1 | uspi->s_fpbmask) + 1) : frag1);
frag3 = frag4 & ~uspi->s_fpbmask;
block1 = block2 = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)