• Josef Bacik's avatar
    btrfs: move the printk and assert helpers to messages.c · 083bd7e5
    Josef Bacik authored
    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: default avatarJosef Bacik <josef@toxicpanda.com>
    Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    083bd7e5
Makefile 1.98 KB