Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752581AbbKJE7v (ORCPT ); Mon, 9 Nov 2015 23:59:51 -0500 Received: from mail-pa0-f68.google.com ([209.85.220.68]:36465 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbbKJE7t (ORCPT ); Mon, 9 Nov 2015 23:59:49 -0500 From: Shivani Bhardwaj To: gregkh@linuxfoundation.org Cc: andreas.dilger@intel.com, oleg.drokin@intel.com, lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH v2 7/8] Staging: lustre: llite_close: Substitute function calls Date: Tue, 10 Nov 2015 10:28:44 +0530 Message-Id: <391868d05a85377c8fb905578b9b01398c06adcb.1447129813.git.shivanib134@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1131 Lines: 32 Substitute standard function kfree() in place of the function ll_finish_md_op_data(). Signed-off-by: Shivani Bhardwaj --- Changes in v2: Fix commit message and merge a patch drivers/staging/lustre/lustre/llite/llite_close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/llite_close.c b/drivers/staging/lustre/lustre/llite/llite_close.c index 3f348a3..c4f22ec 100644 --- a/drivers/staging/lustre/lustre/llite/llite_close.c +++ b/drivers/staging/lustre/lustre/llite/llite_close.c @@ -301,7 +301,7 @@ static void ll_done_writing(struct inode *inode) CERROR("inode %lu mdc done_writing failed: rc = %d\n", inode->i_ino, rc); out: - ll_finish_md_op_data(op_data); + kfree(op_data); if (och) { md_clear_open_replay_data(ll_i2sbi(inode)->ll_md_exp, och); kfree(och); -- 2.1.0 -- 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/