Re: [PATCH] bfs

Tigran Aivazian (tigran@sco.COM)
Tue, 2 Nov 1999 14:39:55 +0000 (GMT)


thanks Andrzej, I will send it to Linus together with the (tiny at the
moment) bunch of other fixes I have generated since the official 2.3.25
came out.

Thanks,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

On Tue, 2 Nov 1999, Andrzej Krzysztofowicz wrote:

> Hi,
> I enclose a patch that fixes problem with long long division in
> gcc-2.7.2.3 (__udiv3 unresolved symbol) in bfs 2.3.25-pre1.
>
> BTW, I think it would be nice to keep the filesystem list in fs/Config.in
> in alphabetic order as it has been sorted some patches ago (by Alan ?)...
>
> Regards
> Andrzej
>
> ***********************************************************************
> diff -u --recursive 2.3.25-1/fs/bfs/dir.c linux/fs/bfs/dir.c
> --- 2.3.25-1/fs/bfs/dir.c Sat Oct 30 00:49:01 1999
> +++ linux/fs/bfs/dir.c Fri Oct 29 23:44:15 1999
> @@ -51,7 +51,7 @@
>
> while (f->f_pos < dir->i_size) {
> offset = f->f_pos & (BFS_BSIZE-1);
> - block = dir->iu_sblock + f->f_pos/BFS_BSIZE;
> + block = dir->iu_sblock + (f->f_pos >> BFS_BSIZE_BITS);
> bh = bread(dev, block, BFS_BSIZE);
> if (!bh) {
> f->f_pos += BFS_BSIZE - offset;
> ************************************************************************
>
> --
> =======================================================================
> Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
> phone (48)(58) 347 14 61
> Faculty of Applied Phys. & Math., Technical University of Gdansk
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/