From patchwork Sat Jan 5 07:43:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Chao X-Patchwork-Id: 209647 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 01D832C008E for ; Sat, 5 Jan 2013 18:43:24 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755123Ab3AEHnS (ORCPT ); Sat, 5 Jan 2013 02:43:18 -0500 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:35795 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755039Ab3AEHnP (ORCPT ); Sat, 5 Jan 2013 02:43:15 -0500 Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 5 Jan 2013 13:12:18 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 5 Jan 2013 13:12:16 +0530 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 8EFD2E004C for ; Sat, 5 Jan 2013 13:13:16 +0530 (IST) Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r057h4nb40173668 for ; Sat, 5 Jan 2013 13:13:05 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r057h6jZ001803 for ; Sat, 5 Jan 2013 07:43:06 GMT Received: from yanx.cn.ibm.com ([9.123.247.37]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id r057h3we001721; Sat, 5 Jan 2013 07:43:05 GMT From: Guo Chao To: tytso@mit.edu Cc: linux-ext4@vger.kernel.org, Tao Ma Subject: [PATCH 3/3] ext4: remove duplicate assignment in ext4_init_new_dir() Date: Sat, 5 Jan 2013 15:43:01 +0800 Message-Id: <1357371781-18194-3-git-send-email-yan@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1357371781-18194-1-git-send-email-yan@linux.vnet.ibm.com> References: <1357371781-18194-1-git-send-email-yan@linux.vnet.ibm.com> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13010507-8256-0000-0000-000005B2A0E4 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org It should be a typo unless I miss something. Cc: Tao Ma Signed-off-by: Guo Chao Acked-by: Tao Ma --- fs/ext4/namei.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index e249a47..db3b1e9 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -2368,7 +2368,6 @@ static int ext4_init_new_dir(handle_t *handle, struct inode *dir, } inode->i_size = EXT4_I(inode)->i_disksize = blocksize; - dir_block = ext4_bread(handle, inode, 0, 1, &err); if (!(dir_block = ext4_bread(handle, inode, 0, 1, &err))) { if (!err) { err = -EIO;