From 03dd4cb26d967f9588437b0fc9cc0e8353322bb7 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 25 Mar 2016 03:53:42 -0300 Subject: Linux-libre 4.5-gnu --- fs/coda/coda_linux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fs/coda/coda_linux.h') diff --git a/fs/coda/coda_linux.h b/fs/coda/coda_linux.h index f829fe963..5104d84c4 100644 --- a/fs/coda/coda_linux.h +++ b/fs/coda/coda_linux.h @@ -72,8 +72,7 @@ void coda_sysctl_clean(void); } while (0) -#define CODA_FREE(ptr,size) \ - do { if (size < PAGE_SIZE) kfree((ptr)); else vfree((ptr)); } while (0) +#define CODA_FREE(ptr, size) kvfree((ptr)) /* inode to cnode access functions */ -- cgit v1.2.3-54-g00ecf