Commit 1f776f5b by Stéphane Graber

Fix typo I introduced in the bdev change.

When adding the missing return value in Caglar's change (as discussed on the mailing-list), I set err = -1 instead or ret = -1, causing an obvious build failure... Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 9a10d37d
......@@ -1365,7 +1365,7 @@ static int btrfs_same_fs(const char *orig, const char *new) {
fd_new = open(new, O_RDONLY);
if (fd_new < 0) {
SYSERROR("Error opening new container dir %s", new);
err = -1;
ret = -1;
goto out;
}
ret = ioctl(fd_new, BTRFS_IOC_FS_INFO, &new_args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment