[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 1 Feb 2015 23:01:13 -0500
From: green@...uxhacker.ru
To: Jan Harkes <jaharkes@...cmu.edu>
Cc: codalist@...EMANN.coda.cs.cmu.edu, linux-kernel@...r.kernel.org,
Oleg Drokin <green@...uxhacker.ru>
Subject: [PATCH] CODA: Do not opencode kvfree
From: Oleg Drokin <green@...uxhacker.ru>
Signed-off-by: Oleg Drokin <green@...uxhacker.ru>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists