Skip to contentSkip to conversation

CODA: Do not opencode kvfree

PATCH New [email protected] 1 participant 1 message Feb 2, 2015 Coda file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CODA: Do not opencode kvfree

From: Oleg Drokin <[email protected]>

---
 fs/coda/coda_linux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/coda/coda_linux.h +1 -1
index d6f7a76..537754b 100644
@@ -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 */
 
Signature · 1 line
2.1.0