btrfs: make btrfs_subvol_snapshot() parameters a flags field
This commit is contained in:
@@ -127,7 +127,7 @@ int pull_make_local_copy(const char *final, const char *image_root, const char *
|
||||
if (force_local)
|
||||
(void) rm_rf(p, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME);
|
||||
|
||||
r = btrfs_subvol_snapshot(final, p, false, false);
|
||||
r = btrfs_subvol_snapshot(final, p, 0);
|
||||
if (r == -ENOTTY) {
|
||||
r = copy_tree(final, p, false);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user