X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=include%2Flinux%2Fstring.h;h=810d80df0a1d1700956e40ededaeefe29883ab46;hb=0b4a4fea253e1296222603ccc55430ed7cd9413a;hp=efdc44593b522054dda0454f105fb0636b8ec0c2;hpb=7022b15e2a9f878fd5184586064c63352c3dd225;p=linux-block.git diff --git a/include/linux/string.h b/include/linux/string.h index efdc44593b52..810d80df0a1d 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -111,5 +111,8 @@ extern void argv_free(char **argv); extern bool sysfs_streq(const char *s1, const char *s2); +extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos, + const void *from, size_t available); + #endif #endif /* _LINUX_STRING_H_ */