diff options
author | Mike Snitzer <snitzer@kernel.org> | 2024-02-14 16:34:46 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2024-03-04 21:07:57 +0100 |
commit | 900d337b4677b958c4139e307a9eebb72503d044 (patch) | |
tree | be13c2d1a6828d928d9ec85a21f6b27721560d37 /drivers/md/dm-vdo/string-utils.h | |
parent | dm vdo logger: change from uds_ to vdo_ namespace (diff) | |
download | linux-900d337b4677b958c4139e307a9eebb72503d044.tar.xz linux-900d337b4677b958c4139e307a9eebb72503d044.zip |
dm vdo string-utils: change from uds_ to vdo_ namespace
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Chung Chung <cchung@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/md/dm-vdo/string-utils.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/dm-vdo/string-utils.h b/drivers/md/dm-vdo/string-utils.h index 8275af582cf7..96eecd38b1c2 100644 --- a/drivers/md/dm-vdo/string-utils.h +++ b/drivers/md/dm-vdo/string-utils.h @@ -3,21 +3,21 @@ * Copyright 2023 Red Hat */ -#ifndef UDS_STRING_UTILS_H -#define UDS_STRING_UTILS_H +#ifndef VDO_STRING_UTILS_H +#define VDO_STRING_UTILS_H #include <linux/kernel.h> #include <linux/string.h> /* Utilities related to string manipulation */ -static inline const char *uds_bool_to_string(bool value) +static inline const char *vdo_bool_to_string(bool value) { return value ? "true" : "false"; } /* Append a formatted string to the end of a buffer. */ -char *uds_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...) +char *vdo_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...) __printf(3, 4); -#endif /* UDS_STRING_UTILS_H */ +#endif /* VDO_STRING_UTILS_H */ |