diff options
author | Yingyi Luo <yingyil@google.com> | 2017-09-15 11:17:31 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-06 13:23:37 +0200 |
commit | fe667f6e7d0a3215bf671bfd70b0eb18d6e9c1a6 (patch) | |
tree | 2e6eb8bcb44a2985707a0f0496a08a644920494a /convert | |
parent | 8a820b57656c1a062c6445f872a9169fa0d9b381 (diff) |
btrfs-progs: add a parameter to btrfs_mksubvol
A convert parameter is added as a flag to indicate if btrfs_mksubvol()
is used for btrfs-convert. The change cascades down to the callchain.
Signed-off-by: Yingyi Luo <yingyil@google.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'convert')
-rw-r--r-- | convert/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/convert/main.c b/convert/main.c index 0babf0e8..882daf7c 100644 --- a/convert/main.c +++ b/convert/main.c @@ -1197,7 +1197,7 @@ static int do_convert(const char *devname, u32 convert_flags, u32 nodesize, } image_root = btrfs_mksubvol(root, subvol_name, - CONV_IMAGE_SUBVOL_OBJECTID); + CONV_IMAGE_SUBVOL_OBJECTID, true); if (!image_root) { error("unable to link subvolume %s", subvol_name); goto fail; |