diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ea819386b8647dc0fec0e923b9645975d11d0a92..603d740f0f1c55fd42f95ecf3c53a5a62664acb1 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5022,7 +5022,7 @@ struct extent_map *btrfs_get_extent(struct inode *inode, struct page *page, } flush_dcache_page(page); } else if (create && PageUptodate(page)) { - WARN_ON(1); + BUG(); if (!trans) { kunmap(page); free_extent_map(em);