btrfs: constify strings passed to assertion helper
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e9539cff04
commit
2ffad70ed3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user