chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01dcca7
)
btrfs: missing endian conversion fix
author
Lennart Poettering
<lennart@poettering.net>
Mon, 6 Apr 2015 12:55:45 +0000
(14:55 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:50:58 +0000
(07:50 +0100)
src/shared/btrfs-util.c
patch
|
blob
|
history
diff --git
a/src/shared/btrfs-util.c
b/src/shared/btrfs-util.c
index 34ebaece027e2875a78e3b9bb38530a3cba22b0f..7fb92b22ee68980d7bbfa59fd97d986f0f231e2a 100644
(file)
--- 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;