summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-06 14:55:45 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-06 14:55:45 +0200
commitcbf21ecc02746b3e651c5067658a9f1e99838a53 (patch)
treef65932a984d19157d2be4f54f40d7c168082c5f2 /src/shared
parente9bc1871b974fa9e33d9c1a45e249e6d1c8bc562 (diff)
btrfs: missing endian conversion fix
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/btrfs-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/btrfs-util.c b/src/shared/btrfs-util.c
index 34ebaece02..7fb92b22ee 100644
--- a/src/shared/btrfs-util.c
+++ b/src/shared/btrfs-util.c
@@ -849,7 +849,7 @@ static int subvol_remove_children(int fd, const char *subvolume, uint64_t subvol
zero(ino_args);
ino_args.treeid = subvol_id;
- ino_args.objectid = ref->dirid;
+ ino_args.objectid = htole64(ref->dirid);
if (ioctl(fd, BTRFS_IOC_INO_LOOKUP, &ino_args) < 0)
return -errno;