From patchwork Mon May 24 15:16:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prarit Bhargava X-Patchwork-Id: 101886 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4OFGgka005277 for ; Mon, 24 May 2010 15:16:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757106Ab0EXPQl (ORCPT ); Mon, 24 May 2010 11:16:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31882 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753031Ab0EXPQk (ORCPT ); Mon, 24 May 2010 11:16:40 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4OFGdKu024090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 May 2010 11:16:40 -0400 Received: from prarit.bos.redhat.com (prarit.bos.redhat.com [10.16.16.23]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4OFGdGu011593; Mon, 24 May 2010 11:16:39 -0400 Date: Mon, 24 May 2010 11:16:39 -0400 From: Prarit Bhargava To: linux-btrfs@vger.kernel.org, chris.mason@oracle.com, jbacik@redhat.com Cc: Prarit Bhargava Message-Id: <20100524151136.6797.38612.sendpatchset@prarit.bos.redhat.com> Subject: [PATCH]: Fix warning in tree_search() X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 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]); Mon, 24 May 2010 15:16:43 +0000 (UTC) diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c index a127c0e..7638f3c 100644 --- a/fs/btrfs/ordered-data.c +++ b/fs/btrfs/ordered-data.c @@ -132,7 +132,7 @@ static inline struct rb_node *tree_search(struct btrfs_ordered_inode_tree *tree, u64 file_offset) { struct rb_root *root = &tree->tree; - struct rb_node *prev; + struct rb_node *uninitialized_var(prev); struct rb_node *ret; struct btrfs_ordered_extent *entry;