From a28bd48a7fc15c99222059a796b3a3c29184b899 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 29 Jan 2021 13:58:10 -0500 Subject: bcachefs: Add an assertion to check for journal writes to same location Signed-off-by: Kent Overstreet Signed-off-by: Kent Overstreet --- fs/bcachefs/bcachefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/bcachefs.h') diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 19ba23f7d9dd..bd675b88b354 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -473,6 +473,7 @@ struct bch_dev { atomic64_t rebalance_work; struct journal_device journal; + u64 prev_journal_sector; struct work_struct io_error_work; -- cgit