Commit 2ffad70e authored by David Sterba's avatar David Sterba

btrfs: constify strings passed to assertion helper

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent e9539cff
......@@ -3425,7 +3425,7 @@ do { \
#ifdef CONFIG_BTRFS_ASSERT
__cold
static inline void assfail(char *expr, char *file, int line)
static inline void assfail(const char *expr, const char *file, int line)
{
pr_err("assertion failed: %s, file: %s, line: %d\n",
expr, file, line);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment