mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
btrfs: replace open coded DEBUG_WARN in extent_writepage()
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
cf384a2ab8
commit
1a69592502
|
|
@ -1868,7 +1868,7 @@ static int extent_writepage(struct folio *folio, struct btrfs_bio_ctrl *bio_ctrl
|
|||
* case.
|
||||
*/
|
||||
if (unlikely(!folio_test_private(folio))) {
|
||||
WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG));
|
||||
DEBUG_WARN();
|
||||
btrfs_err_rl(fs_info,
|
||||
"root %lld ino %llu folio %llu is marked dirty without notifying the fs",
|
||||
btrfs_root_id(inode->root),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user