* [PATCH] CODA: Do not opencode kvfree
@ 2015-02-02 4:01 green
0 siblings, 0 replies; only message in thread
From: green @ 2015-02-02 4:01 UTC (permalink / raw)
To: Jan Harkes; +Cc: codalist, linux-kernel, Oleg Drokin
From: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Oleg Drokin <green@linuxhacker.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-02 4:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-02 4:01 [PATCH] CODA: Do not opencode kvfree green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®