From patchwork Fri Jul 23 23:01:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel J Blueman X-Patchwork-Id: 114020 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6NN26p1029563 for ; Fri, 23 Jul 2010 23:02:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753166Ab0GWXCD (ORCPT ); Fri, 23 Jul 2010 19:02:03 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:44502 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226Ab0GWXCB (ORCPT ); Fri, 23 Jul 2010 19:02:01 -0400 Received: by bwz1 with SMTP id 1so1885931bwz.19 for ; Fri, 23 Jul 2010 16:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=Sg45+Vp3TSpseogI383butfINMxAwLjQHiVEb+5xUnE=; b=H3uoCeV4aSXuMMJ7J9MX14UNCx6v1JLeId0W4yx3Q1IMwWGv/RnT9F4RtpJ2nFgHgY 4E2U4eAWyHDuhvozBhvYnJfTDHXdM3gS3RlH7q+3IvHxvy4a5tpSWZ+a9qNhhbf7dY+L ZpIfL0su8BzjtQA3HfLtfq1aAp0CVjTQAool8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=NdcVMMxNEZSVeowGKmqKzDWz8B4YZzSkInkcfQ86qRQmJoZvcTrItBKU7kXI2O4Je8 ALtRa2utIPa3jJNrmreoRJ/Vk6KiUxuuYA6GfI/Gk+AMSsX7xCNY4z1SlIIGgZYH+u/a c6iiZAs0pfp6T6BiLf6M55UyOdptWZyagAvsM= MIME-Version: 1.0 Received: by 10.204.35.69 with SMTP id o5mr3067606bkd.87.1279926119801; Fri, 23 Jul 2010 16:01:59 -0700 (PDT) Received: by 10.204.80.131 with HTTP; Fri, 23 Jul 2010 16:01:59 -0700 (PDT) Date: Sat, 24 Jul 2010 00:01:59 +0100 Message-ID: Subject: [2.6.35-rc6 patch] direct I/O submission fixes From: Daniel J Blueman To: Chris Mason Cc: Linux BTRFS , Josef Bacik Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 23 Jul 2010 23:02:06 +0000 (UTC) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 1bff92a..302e6d0 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5652,7 +5652,6 @@ static void btrfs_submit_direct(int rw, struct bio *bio, struct inode *inode, ret = -ENOMEM; goto free_ordered; } - dip->csums = NULL; if (!skip_sum) {