summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-15 20:25:08 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:46 -0400
commit7fec8266af12b655e98978050e716e12e8544fe6 (patch)
tree7634750a6ce6ebdbb72a836d26684f689f3f7e81 /fs/bcachefs/io_types.h
parent8eb71e9e1af8aaec3c70673560931a328fe840bd (diff)
downloadlinux-7fec8266af12b655e98978050e716e12e8544fe6.tar.gz
linux-7fec8266af12b655e98978050e716e12e8544fe6.tar.bz2
linux-7fec8266af12b655e98978050e716e12e8544fe6.zip
bcachefs: Error message improvement
- Centralize format strings in bcachefs.h - Add bch2_fmt_inum_offset() and related helpers - Switch error messages for inodes to also print out the offset, in bytes Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/io_types.h')
-rw-r--r--fs/bcachefs/io_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/io_types.h b/fs/bcachefs/io_types.h
index b31f2a22f098..8e83ce5bc805 100644
--- a/fs/bcachefs/io_types.h
+++ b/fs/bcachefs/io_types.h
@@ -88,6 +88,7 @@ struct bch_write_bio {
struct bch_write_bio *parent;
u64 submit_time;
+ u64 inode_offset;
struct bch_devs_list failed;
u8 dev;