diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-12 11:48:36 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-12 11:48:45 -0400 |
commit | b422ff58ba8eedcfef3b67b66468660f07b0cfc1 (patch) | |
tree | b9a02fbf56200076c7692b3ab7863bba5c98985d /include/linux/string.h | |
parent | 816ec6051675444d28a2b52ca3aac2558e9178c4 (diff) |
Update bcachefs sources to a8b3ce7599 fixup! bcachefs: Eliminate more PAGE_SIZE uses
Diffstat (limited to 'include/linux/string.h')
-rw-r--r-- | include/linux/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h index 4806e2c5..b5e00a09 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -11,5 +11,6 @@ extern void memzero_explicit(void *, size_t); int match_string(const char * const *, size_t, const char *); #define kstrndup(s, n, gfp) strndup(s, n) +#define kstrdup(s, gfp) strdup(s) #endif /* _LINUX_STRING_H_ */ |