Re: 2.4.21pre2aa1: compile error in fs/buffer.c

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Thu, 26 Dec 2002 15:22:27 +1100


This is a multi-part message in MIME format.
--------------11414C0B8DB1E4A7A3DE5756
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

A declaration at the wrong place was introduced by pre2aa1 in
fs/buffer.c. I simply moved the declaration tot the top of the
relevant block.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
--------------11414C0B8DB1E4A7A3DE5756
Content-Type: text/plain; charset=us-ascii;
 name="2.4.21-pre2-aa1-buffer.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="2.4.21-pre2-aa1-buffer.patch"

--- linux/fs/buffer.c.orig Thu Dec 26 15:10:26 2002 +++ linux/fs/buffer.c Thu Dec 26 15:10:51 2002 @@ -2334,8 +2334,8 @@ } if (iobuf->varyio && (!(offset & RAWIO_BLOCKMASK))) { - iosize = RAWIO_BLOCKSIZE; int block_iter; + iosize = RAWIO_BLOCKSIZE; if (iosize > length) iosize = length; for (block_iter = 1; block_iter < iosize / size; block_iter++) {

--------------11414C0B8DB1E4A7A3DE5756--

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