diff options
author | Ariel Miculas <ariel.miculas@gmail.com> | 2024-06-14 21:46:50 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-16 14:08:52 -0400 |
commit | d750b2b98b492479eb71875499220608b6f19dcc (patch) | |
tree | 0b4218122e8ad3bb1cddafd1cbb8a33f83d60d4b /libbcachefs/inode.h | |
parent | f3ab07db7394cd2142ef9cc5cbc62b4bdff21d6d (diff) |
bcachefs: allow initializing a bcachefs filesystem from a source directory
Add a new source command line argument which specifies the directory
tree that will be copied onto the newly formatted bcachefs filesystem.
This commit also fixes an issue in copy_link where uninitialized data is
copied into the symlink because of a round_up of the buffer size.
Signed-off-by: Ariel Miculas <ariel.miculas@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/inode.h')
-rw-r--r-- | libbcachefs/inode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/inode.h b/libbcachefs/inode.h index 679f5f5e..b62111bf 100644 --- a/libbcachefs/inode.h +++ b/libbcachefs/inode.h @@ -5,6 +5,7 @@ #include "bkey.h" #include "bkey_methods.h" #include "opts.h" +#include "subvolume_types.h" enum bch_validate_flags; extern const char * const bch2_inode_opts[]; |