diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-24 15:05:44 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-03-24 15:05:44 -0400 |
commit | 0dcfa3b8270f38edacee1c62f308129c36073d0c (patch) | |
tree | 74e084b5cceed48161b5ca1508a88afd6f8ca8b1 /kerncompat.h | |
parent | 26afd0f31d59853f51120622b0121cdfc72cd398 (diff) |
Walk all block devices looking for btrfs
Diffstat (limited to 'kerncompat.h')
-rw-r--r-- | kerncompat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kerncompat.h b/kerncompat.h index 8536832d..c7aee684 100644 --- a/kerncompat.h +++ b/kerncompat.h @@ -189,6 +189,8 @@ static inline long IS_ERR(const void *ptr) * kmalloc/kfree */ #define kmalloc(x, y) malloc(x) +#define kzalloc(x, y) calloc(1, x) +#define kstrdup(x, y) strdup(x) #define kfree(x) free(x) #define BUG_ON(c) do { if (c) abort(); } while (0) |