summaryrefslogtreecommitdiffstats
path: root/kernel/fs/ntfs/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/ntfs/malloc.h')
-rw-r--r--kernel/fs/ntfs/malloc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/fs/ntfs/malloc.h b/kernel/fs/ntfs/malloc.h
index a44b14cbc..ab172e5f5 100644
--- a/kernel/fs/ntfs/malloc.h
+++ b/kernel/fs/ntfs/malloc.h
@@ -85,12 +85,7 @@ static inline void *ntfs_malloc_nofs_nofail(unsigned long size)
static inline void ntfs_free(void *addr)
{
- if (!is_vmalloc_addr(addr)) {
- kfree(addr);
- /* free_page((unsigned long)addr); */
- return;
- }
- vfree(addr);
+ kvfree(addr);
}
#endif /* _LINUX_NTFS_MALLOC_H */