btrfs-progs/libbtrfs
Josef Bacik 228aa34f10 btrfs-progs: sync messages.[ch] from the kernel
These are the printk helpers from the kernel.  There were a few
modifications, the hi-lights are

- We do not have fs_info::fs_state, so that needed to be removed.
- We do not have discard.h sync'ed yet, so that dependency was dropped.
- Anything related to struct super_block was commented out.
- The transaction abort had to be modified to fit with the current
  btrfs-progs code.
- Added a btrfs_no_printk() helper to common/messages.* so that the
  print statements still worked.
- The 32bit limit checkers are not needed so are behind __KERNEL__

Additionally there were kerncompat.h changes that needed to be made to
handle the dependencies properly.  Those are easier to spot.

Any function that needed to be modified has a MODIFIED tag in the
comment section with a list of things that were changed.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-05-26 18:02:28 +02:00
..
crc32c.c btrfs-progs: libbtrfs: own copy of crc32c 2023-02-28 20:11:22 +01:00
crc32c.h btrfs-progs: libbtrfs: own copy of crc32c 2023-02-28 20:11:22 +01:00
ctree.h btrfs-progs: fix kerncompat.h include ordering for libbtrfs 2023-05-26 18:02:27 +02:00
ioctl.h btrfs-progs: libbtrfs: revert to v6.0.2 ioctl.h 2023-01-04 16:45:23 +01:00
kerncompat.h btrfs-progs: sync messages.[ch] from the kernel 2023-05-26 18:02:28 +02:00
libbtrfs.sym btrfs-progs: libbtrfs: move libbtrfs.sym to the directory 2023-01-05 14:23:46 +01:00
send-stream.c btrfs-progs: introduce UASSERT() for purely userspace code 2023-05-26 18:02:28 +02:00
send-stream.h btrfs-progs: libbtrfs: use own copy of kerncompat.h 2023-01-04 16:52:57 +01:00
send-utils.c btrfs-progs: fix kerncompat.h include ordering for libbtrfs 2023-05-26 18:02:27 +02:00
send-utils.h btrfs-progs: libbtrfs: use own copy of kerncompat.h 2023-01-04 16:52:57 +01:00
send.h
version.h.in btrfs-progs: libbtrfs: move version.h to the directory 2023-01-05 14:18:07 +01:00