diff options
| author | Filipe Manana <[email protected]> | 2025-05-28 14:28:26 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-07-21 21:53:29 +0000 |
| commit | d94edb0d7e38e520174c0846afa5337319c1ac5f (patch) | |
| tree | 3b66a460034cbd97f19397d5c53b716d1acf8865 /fs/btrfs/inode.c | |
| parent | btrfs: open code fc_mount() to avoid releasing s_umount rw_sempahore (diff) | |
| download | kernel-d94edb0d7e38e520174c0846afa5337319c1ac5f.tar.gz kernel-d94edb0d7e38e520174c0846afa5337319c1ac5f.zip | |
btrfs: assert we join log transaction at btrfs_del_inode_ref_in_log()
We are supposed to be able to join a log transaction at that point, since
we have determined that the inode was logged in the current transaction
with the call to inode_logged(). So ASSERT() we joined a log transaction
and also warn if we didn't in case assertions are disabled (the kernel
config doesn't have CONFIG_BTRFS_ASSERT=y), so that the issue gets noticed
and reported if it ever happens.
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions
