diff options
author | David Sterba <dsterba@suse.com> | 2018-07-20 16:30:23 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:59 +0200 |
commit | 2ffad70ed3b6fbc946bc102f9d11c0e7c1cd380f (patch) | |
tree | 8dfb3cf3785c7227703af5897e6fc33234a3883f | |
parent | e9539cff04728e31e150b41000b828745fc0c2b3 (diff) | |
download | linux-stable-2ffad70ed3b6fbc946bc102f9d11c0e7c1cd380f.tar.gz linux-stable-2ffad70ed3b6fbc946bc102f9d11c0e7c1cd380f.tar.bz2 linux-stable-2ffad70ed3b6fbc946bc102f9d11c0e7c1cd380f.zip |
btrfs: constify strings passed to assertion helper
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 5f6ec80d374f..2e32584c635f 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); |