[haiku-commits] haiku: hrev53047 - src/add-ons/kernel/file_systems/btrfs

  • From: Jérôme Duval <jerome.duval@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 6 Apr 2019 17:47:39 -0400 (EDT)

hrev53047 adds 1 changeset to branch 'master'
old head: 7a15c1cbc5e4cd58bc6d97943307b8df3fc20d69
new head: a0710a23d2c784b56167b8efe0db27e8b2dcc6eb
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=a0710a23d2c7+%5E7a15c1cbc5e4

----------------------------------------------------------------------------

a0710a23d2c7: btrfs: Fix get object id from disk in wrong order
  
  Change-Id: I15ab04ec55dd4e9318eff9eef65a5030bf5241b3
  Reviewed-on: https://review.haiku-os.org/c/1390
  Reviewed-by: Jérôme Duval <jerome.duval@xxxxxxxxx>

                                      [ Che Vu Gia Hy <cvghy116@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53047
Commit:      a0710a23d2c784b56167b8efe0db27e8b2dcc6eb
URL:         https://git.haiku-os.org/haiku/commit/?id=a0710a23d2c7
Author:      Che Vu Gia Hy <cvghy116@xxxxxxxxx>
Date:        Sat Apr  6 20:14:55 2019 UTC
Committer:   Jérôme Duval <jerome.duval@xxxxxxxxx>
Commit-Date: Sat Apr  6 21:47:33 2019 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/add-ons/kernel/file_systems/btrfs/btrfs.h | 2 +-

----------------------------------------------------------------------------

diff --git a/src/add-ons/kernel/file_systems/btrfs/btrfs.h 
b/src/add-ons/kernel/file_systems/btrfs/btrfs.h
index 681770c137..337c118d67 100644
--- a/src/add-ons/kernel/file_systems/btrfs/btrfs.h
+++ b/src/add-ons/kernel/file_systems/btrfs/btrfs.h
@@ -419,7 +419,7 @@ struct btrfs_block_group {
 
        uint64 UsedSpace() const { return B_LENDIAN_TO_HOST_INT64(used_space); }
        uint64 ChunkObjectID() const
-               { return B_HOST_TO_LENDIAN_INT64(chunk_object_id); }
+               { return B_LENDIAN_TO_HOST_INT64(chunk_object_id); }
        uint64 Flags() const { return B_LENDIAN_TO_HOST_INT64(flags); }
 } _PACKED;
 


Other related posts:

  • » [haiku-commits] haiku: hrev53047 - src/add-ons/kernel/file_systems/btrfs - Jérôme Duval