diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 5f6ec80d374fea519539022236e5fb943f36a6f0..2e32584c635ff43591546252e86a77cb61788ade 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -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);