]> Git Repo - linux.git/commit
btrfs: move the printk and assert helpers to messages.c
authorJosef Bacik <[email protected]>
Wed, 26 Oct 2022 19:08:20 +0000 (15:08 -0400)
committerDavid Sterba <[email protected]>
Mon, 5 Dec 2022 17:00:45 +0000 (18:00 +0100)
commit083bd7e54e8e2c1d169f21236873272cdf6f409a
treef4c49f8927319792dd45fb20e594ba40b3f2415c
parent5034388342564877879e2a94faf72eff468a7437
btrfs: move the printk and assert helpers to messages.c

These helpers are core to btrfs, and in order to more easily sync
various parts of the btrfs kernel code into btrfs-progs we need to be
able to carry these helpers with us.  However we want to have our own
implementation for the helpers themselves, currently they're implemented
in different files that we want to sync inside of btrfs-progs itself.
Move these into their own C file, this will allow us to contain our
overrides in btrfs-progs in it's own file without messing with the rest
of the codebase.

In copying things over I fixed up a few whitespace errors that already
existed.

Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/Makefile
fs/btrfs/messages.c [new file with mode: 0644]
fs/btrfs/super.c
This page took 0.055747 seconds and 4 git commands to generate.