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

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 20 Aug 2019 05:52:01 -0400 (EDT)

hrev53388 adds 1 changeset to branch 'master'
old head: 03867a467ec64d63c33301dad12fdae4ad746099
new head: 262348afe7fcbb5592446d6333ac502d950ad525
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=262348afe7fc+%5E03867a467ec6

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

262348afe7fc: btrfs: documented Chunk class (no functional change)
  
  Change-Id: I9f1c47728297d7e29033beed7338bbd44d6d13cd
  Reviewed-on: https://review.haiku-os.org/c/haiku/+/1492
  Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>
  Reviewed-by: Chế Vũ Gia Hy <cvghy116@xxxxxxxxx>

                                           [ brjhaiku <brjhaiku@xxxxxxxxx> ]

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

Revision:    hrev53388
Commit:      262348afe7fcbb5592446d6333ac502d950ad525
URL:         https://git.haiku-os.org/haiku/commit/?id=262348afe7fc
Author:      brjhaiku <brjhaiku@xxxxxxxxx>
Date:        Thu May 30 22:39:59 2019 UTC
Committer:   Adrien Destugues <pulkomandy@xxxxxxxxx>
Commit-Date: Tue Aug 20 09:51:59 2019 UTC

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

1 file changed, 3 insertions(+)
src/add-ons/kernel/file_systems/btrfs/Chunk.h | 3 +++

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

diff --git a/src/add-ons/kernel/file_systems/btrfs/Chunk.h 
b/src/add-ons/kernel/file_systems/btrfs/Chunk.h
index 1bc5bab9a6..b0390992be 100644
--- a/src/add-ons/kernel/file_systems/btrfs/Chunk.h
+++ b/src/add-ons/kernel/file_systems/btrfs/Chunk.h
@@ -13,12 +13,15 @@
 #include "btrfs.h"
 
 
+//! Used to translate logical addresses to physical addresses
 class Chunk {
 public:
                                                                
Chunk(btrfs_chunk* chunk,
                                                                        
fsblock_t offset);
                                                                ~Chunk();
+                       //! \return Value of current physical size
                        uint32                          Size() const;
+                       //! Used to convert logical addresses into physical 
addresses
                        status_t                        FindBlock(off_t 
logical, off_t& physical);
                        fsblock_t                       Offset() const { return 
fChunkOffset; }
                        fsblock_t                       End() const


Other related posts:

  • » [haiku-commits] haiku: hrev53388 - src/add-ons/kernel/file_systems/btrfs - Adrien Destugues