summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/extents_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-06 11:52:58 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:13 -0400
commit641ab736437a3f9881467c0005b0d677194fff63 (patch)
tree1b20da644db6b5cf9c3341c28f63124e2971a0d1 /fs/bcachefs/extents_types.h
parent57cb2142ed1aadf2bf737f732bc74e5649dbcb15 (diff)
downloadlinux-641ab736437a3f9881467c0005b0d677194fff63.tar.gz
linux-641ab736437a3f9881467c0005b0d677194fff63.tar.bz2
linux-641ab736437a3f9881467c0005b0d677194fff63.zip
bcachefs: improve/clarify ptr_disk_sectors()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents_types.h')
-rw-r--r--fs/bcachefs/extents_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/bcachefs/extents_types.h b/fs/bcachefs/extents_types.h
index a85cda0e7a6a..a8dd6952d989 100644
--- a/fs/bcachefs/extents_types.h
+++ b/fs/bcachefs/extents_types.h
@@ -5,14 +5,14 @@
#include "bcachefs_format.h"
struct bch_extent_crc_unpacked {
+ u32 compressed_size;
+ u32 uncompressed_size;
+ u32 live_size;
+
u8 csum_type;
u8 compression_type;
- u16 compressed_size;
- u16 uncompressed_size;
-
u16 offset;
- u16 live_size;
u16 nonce;