mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-27 00:22:22 +00:00
btrfs-progs: convert: use fixed lenght array for source fs name
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
cf83a41a02
commit
6b74f2fbe3
@ -31,8 +31,10 @@ struct task_ctx {
|
||||
|
||||
struct btrfs_convert_context;
|
||||
|
||||
#define SOURCE_FS_NAME_LEN (16)
|
||||
|
||||
struct btrfs_convert_operations {
|
||||
const char *name;
|
||||
const char name[SOURCE_FS_NAME_LEN];
|
||||
int (*open_fs)(struct btrfs_convert_context *cctx, const char *devname);
|
||||
int (*read_used_space)(struct btrfs_convert_context *cctx);
|
||||
int (*copy_inodes)(struct btrfs_convert_context *cctx,
|
||||
|
Loading…
Reference in New Issue
Block a user