summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-10-31 05:21:11 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:45 +0300
commitd4bce63636ab81ca4aed03d6641ad70c8416e921 (patch)
tree6b106329357324c9d2102c1a9b186710efea8dbd /fs/bcachefs/io_types.h
parent2cb75179694a646e192247cd56b62cf375af3ae9 (diff)
downloadlinux-d4bce63636ab81ca4aed03d6641ad70c8416e921.tar.xz
bcachefs: Kill BCH_WRITE_JOURNAL_SEQ_PTR
Dead code, delete. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/io_types.h')
-rw-r--r--fs/bcachefs/io_types.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/bcachefs/io_types.h b/fs/bcachefs/io_types.h
index c316a39d381a..685fb1183399 100644
--- a/fs/bcachefs/io_types.h
+++ b/fs/bcachefs/io_types.h
@@ -142,14 +142,7 @@ struct bch_write_op {
struct open_buckets open_buckets;
- /*
- * If caller wants to flush but hasn't passed us a journal_seq ptr, we
- * still need to stash the journal_seq somewhere:
- */
- union {
- u64 *journal_seq_p;
- u64 journal_seq;
- };
+ u64 journal_seq;
u64 new_i_size;
s64 i_sectors_delta;