aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2025-06-06 17:50:14 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:53:31 +0000
commitf1f22dfbea2e834aa81eb8511e2f96583390ef82 (patch)
tree77c2f19ef0f15819522eb0f32c391c2296bdf557 /fs/btrfs/extent_io.c
parentbtrfs: use btrfs_is_data_reloc_root() where not done yet (diff)
downloadkernel-f1f22dfbea2e834aa81eb8511e2f96583390ef82.tar.gz
kernel-f1f22dfbea2e834aa81eb8511e2f96583390ef82.zip
btrfs: use btrfs_root_id() where not done yet
A few more remaining cases where we can use the helper. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index ac639d50706a..f869309c8aa1 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -1704,7 +1704,7 @@ static int extent_writepage(struct folio *folio, struct btrfs_bio_ctrl *bio_ctrl
WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG));
btrfs_err_rl(fs_info,
"root %lld ino %llu folio %llu is marked dirty without notifying the fs",
- inode->root->root_key.objectid,
+ btrfs_root_id(inode->root),
btrfs_ino(inode), folio_pos(folio));
ret = -EUCLEAN;
goto done;