bcachefs: Factor out fs-common.c
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 2 Oct 2019 22:35:36 +0000 (18:35 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:28 +0000 (17:08 -0400)
commit9638574229e3ae0175a46a63431149746c777b3a
tree01cd8a76741a838f2e3a99690ea661bca7c457a9
parent73501ab82c44b1249916ded8dcb883f7705b1549
bcachefs: Factor out fs-common.c

This refactoring makes the code easier to understand by separating the
bcachefs btree transactional code from the linux VFS code - but more
importantly, it's also to share code with the fuse port.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
12 files changed:
fs/bcachefs/Makefile
fs/bcachefs/dirent.c
fs/bcachefs/dirent.h
fs/bcachefs/fs-common.c [new file with mode: 0644]
fs/bcachefs/fs-common.h [new file with mode: 0644]
fs/bcachefs/fs-ioctl.c
fs/bcachefs/fs.c
fs/bcachefs/fs.h
fs/bcachefs/fsck.c
fs/bcachefs/inode.c
fs/bcachefs/inode.h
fs/bcachefs/recovery.c