Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754453AbbBZVdc (ORCPT ); Thu, 26 Feb 2015 16:33:32 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59154 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753475AbbBZVdb (ORCPT ); Thu, 26 Feb 2015 16:33:31 -0500 Date: Thu, 26 Feb 2015 13:33:29 -0800 From: Andrew Morton To: Daeseok Youn Cc: mfasheh@suse.com, jlbec@evilplan.org, ocfs2-devel@oss.oracle.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] ocfs2: remove unneeded variable 'status' Message-Id: <20150226133329.8a80c302d3ec014a2b0d58ff@linux-foundation.org> In-Reply-To: <20150223103810.GA16869@devel.8.8.4.4> References: <20150223103810.GA16869@devel.8.8.4.4> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 20 On Mon, 23 Feb 2015 19:38:10 +0900 Daeseok Youn wrote: > Use 'retval' instead of 'status'. > The patch does a lot more than this. It causes __ocfs2_add_entry to propagate error codes which were previously dropped on the floor. Please update the changelog to fully explain the functional changes and to explain why they are desirable. After the patch there is still one unchecked call to ocfs2_journal_access_di() and one unchecked call to ocfs2_journal_access_db(). Probably these are bugs. -- 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/