diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index d548538d0b16..cb996903c739 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -9915,7 +9915,6 @@ static struct btrfs_delalloc_work *btrfs_alloc_delalloc_work(struct inode *inode init_completion(&work->completion); INIT_LIST_HEAD(&work->list); work->inode = inode; - WARN_ON_ONCE(!inode); btrfs_init_work(&work->work, btrfs_flush_delalloc_helper, btrfs_run_delalloc_work, NULL, NULL);