Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 11 Dec 2000 01:22:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 11 Dec 2000 01:22:42 -0500 Received: from note.orchestra.cse.unsw.EDU.AU ([129.94.242.29]:28681 "HELO note.orchestra.cse.unsw.EDU.AU") by vger.kernel.org with SMTP id ; Mon, 11 Dec 2000 01:22:30 -0500 From: Neil Brown To: Linus Torvalds Date: Mon, 11 Dec 2000 16:51:55 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14900.27515.416607.892448@notabene.cse.unsw.edu.au> cc: linux-kernel@vger.kernel.org Subject: PATCH - use submit_bh in brw_kiovec X-Mailer: VM 6.72 under Emacs 20.7.2 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D>9; unsigned long blocknr; struct kiobuf * iobuf = NULL; struct page * map; @@ -2092,9 +2091,8 @@ tmp->b_this_page = tmp; init_buffer(tmp, end_buffer_io_kiobuf, iobuf); - tmp->b_rdev = tmp->b_dev = dev; + tmp->b_dev = dev; tmp->b_blocknr = blocknr; - tmp->b_rsector = blocknr*sectors; tmp->b_state = (1 << BH_Mapped) | (1 << BH_Lock) | (1 << BH_Req); if (rw == WRITE) { @@ -2108,7 +2106,7 @@ atomic_inc(&iobuf->io_count); - generic_make_request(rw, tmp); + submit_bh(rw, tmp); /* * Wait for IO if we have got too much */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/