diff options
author | David Sterba <dsterba@suse.com> | 2023-01-24 20:44:38 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-04-18 01:46:35 +0200 |
commit | e5a78fdec0114266d3c47df413d2d7955807fad9 (patch) | |
tree | 722209e38f9cf30d9ba422f6635a24abe20bbfbd /fs/btrfs | |
parent | 1db7959aacd905e6487d0478ac01d89f86eb1e51 (diff) |
btrfs: remove colon from messages with state
The message format in syslog is usually made of two parts:
prefix ":" message
Various tools parse the prefix up to the first ":". When there's
an additional status of a btrfs filesystem like
[5.199782] BTRFS info (device nvme1n1p1: state M): use zstd compression, level 9
where 'M' is for remount, there's one more ":" that does not conform to
the format. Remove it.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/messages.c b/fs/btrfs/messages.c index c96dd66fd0f7..210d9c82e2ae 100644 --- a/fs/btrfs/messages.c +++ b/fs/btrfs/messages.c @@ -7,7 +7,7 @@ #ifdef CONFIG_PRINTK -#define STATE_STRING_PREFACE ": state " +#define STATE_STRING_PREFACE " state " #define STATE_STRING_BUF_LEN (sizeof(STATE_STRING_PREFACE) + BTRFS_FS_STATE_COUNT + 1) /* |