Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932317AbbBBECK (ORCPT ); Sun, 1 Feb 2015 23:02:10 -0500 Received: from linuxhacker.ru ([217.76.32.60]:33141 "EHLO fiona.linuxhacker.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754803AbbBBECH (ORCPT ); Sun, 1 Feb 2015 23:02:07 -0500 From: green@linuxhacker.ru To: Jan Harkes Cc: codalist@TELEMANN.coda.cs.cmu.edu, linux-kernel@vger.kernel.org, Oleg Drokin Subject: [PATCH] CODA: Do not opencode kvfree Date: Sun, 1 Feb 2015 23:01:13 -0500 Message-Id: <1422849673-15720-1-git-send-email-green@linuxhacker.ru> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 810 Lines: 28 From: Oleg Drokin Signed-off-by: Oleg Drokin --- fs/coda/coda_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/coda/coda_linux.h b/fs/coda/coda_linux.h index d6f7a76..537754b 100644 --- a/fs/coda/coda_linux.h +++ b/fs/coda/coda_linux.h @@ -73,7 +73,7 @@ void coda_sysctl_clean(void); #define CODA_FREE(ptr,size) \ - do { if (size < PAGE_SIZE) kfree((ptr)); else vfree((ptr)); } while (0) + do { kvfree((ptr)); } while (0) /* inode to cnode access functions */ -- 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/