[PATCH] CODA: Do not opencode kvfree

From: green
Date: Sun Feb 01 2015 - 23:02:13 EST


From: Oleg Drokin <green@xxxxxxxxxxxxxx>

Signed-off-by: Oleg Drokin <green@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/