OSDN Git Service

btrfs: add __KERNEL__ check for btrfs_no_printk
authorJosef Bacik <josef@toxicpanda.com>
Sat, 29 Apr 2023 20:07:19 +0000 (16:07 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:25 +0000 (13:59 +0200)
commita95b7f93602e41f680096106935a76667a8763f1
treea6c130cb4360bd08135c9aa095246ade2c8153fc
parentf541833c8eea17e3779e0fce81d3c92a3604d80a
btrfs: add __KERNEL__ check for btrfs_no_printk

We want to override this in btrfs-progs, so wrap this in the __KERNEL__
check so we can easily sync this to btrfs-progs and have our local
version of btrfs_no_printk do the work.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/messages.h