Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp352462lqo; Wed, 8 May 2024 01:30:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyW9xn9epoP6qVqzGSV2hv6pVc0cT4XXkzO087eKbnqBjU4eAq8Z12Zvqd0W79VMr92Yw8ciWnphyQ3TUyGAJFcc8itG0X2TcFC0Dktw== X-Google-Smtp-Source: AGHT+IGl9BlPI3HJK5OBULm6jyd8FNVvQ81feMd14F9B1x5WtpRtle4wM2Z0TD5Eb90TwXuSmfIh X-Received: by 2002:a17:90a:f00b:b0:2b0:e883:270d with SMTP id 98e67ed59e1d1-2b5bbbe02f9mr6922853a91.1.1715157049696; Wed, 08 May 2024 01:30:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715157049; cv=pass; d=google.com; s=arc-20160816; b=s0PBiQ84KQngbm8uICAn8sLlO2yITgMdZI6CnaVsBz23jJ902ZfrzNzA/wwL6EXSsR tIme7sQAF+/jywzEOKrqEcO4hcedPM+OCAgdLqL7YtyVMyxZR7f8zmnpppaElRVvA4nF zH1kUcIzvWOg1hetfxLCZ9VJiEpL1DwZnujPHEUi66pwFVAf8qVkPExTkumCLyW7PJMI nMgtBVJlbhQ57xe/zK2hvd6NxAxInID5b7OkYegaywi6cNo9zKzXbNDrIy+LPVJzNKbu FJuhbsxFSJ5+uPj+dRtaHDcIgCNz9c8Dr63XZRo48FmHwBbo50fAHgtrJltG9e+lloAS pDvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=3ixA6ZpFhbriwN643+FDPmx+8B3vSAEW3xMrMho4mmU=; fh=98ALpziA0XBsqaLZuG48TtFi/b44KSmOzcxIiq4ylBA=; b=ECkx4MdRdc1XdLNN2oYbV/jHt75ILqHOSEyxHwZdkEDmbfBTPVob0OJB1FBl7shmoI zQfNIuCfF1rfHHY5t8t/iuho9RioHW843UCnueULRouTsbe4Bi64kSKaRvHtvr4f1UIc 7MJEX0g0rbioROyK9VQD043R1MpcLSqvpIw8GqGDpSEOCA6ufWJlkqbbRCXcnYSzQ1EV cj4FC67ToRAN+SfPeo9632tmhMfLwHk7VMd+SxyULidSyDN+4uz0jyD5d85D6FE80MI7 6GA/h8EyZHPV81LBKKhlgjdXhB7C/HochRLwgvSLQiDTiZoZGwjTKTSQZcO3sxhsUAg/ MRMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b=Rsfkx9LY; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-172903-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172903-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x17-20020a656ab1000000b005fe5c7f32e7si12435393pgu.332.2024.05.08.01.30.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 01:30:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172903-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b=Rsfkx9LY; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-172903-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172903-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2181CB20FA9 for ; Wed, 8 May 2024 08:21:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A60A24086F; Wed, 8 May 2024 08:21:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b="Rsfkx9LY" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBFD72C861 for ; Wed, 8 May 2024 08:21:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715156489; cv=none; b=frGW8+JxlnNaxpWdKhnlkRomUWayUTCxZX6DYXiyBSjJqTooNEliIP5nKyMCTGIEUfnRGX3H9Qip8V+ZH3BcZRwVGJFgC0llZCYmBNRu9bsz+WnvrBuQQrgINs2Ja0HYhakflncU639qfFFWNdBdQmvxZKOiLy8gSG40s41Rsdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715156489; c=relaxed/simple; bh=HL7En7OBTcPuMbQQapaF7sp8ONja5eBac9REyP9vuAg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EI68HfmcTcctaKIu4r+oEZ0zDQz7lmiHL9GTxXpnA2HYXubFtVXzBrPGqH6BR58YpfHdajWw9qTOUJYuyZUmB8fn0ImswikRY79xdIAAWgoQmBveDrTM67ZC2R0grVG8bUQZ6ITPzjdGALQ5/bv13z+RQbnEu1BhtHivQllA0JA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu; spf=pass smtp.mailfrom=szeredi.hu; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b=Rsfkx9LY; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=szeredi.hu Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a59a64db066so1036249566b.3 for ; Wed, 08 May 2024 01:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; t=1715156486; x=1715761286; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3ixA6ZpFhbriwN643+FDPmx+8B3vSAEW3xMrMho4mmU=; b=Rsfkx9LYtrTVtrmzCEStY9k34OZFYmQfzWN8bDhMq5PH2SyXPKkVxKhKfZArDGVyna al/fwPeQqBRvmDVtZ/mBI4gFyeoJTWMdKJ0p9OFY2iKMAcPxYEVVV42NQlSzQKRNxO35 dyugODuQnoWWgBhZn84RjeCxi+8ztcSw00WdY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715156486; x=1715761286; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3ixA6ZpFhbriwN643+FDPmx+8B3vSAEW3xMrMho4mmU=; b=mdhWfbcJeDaXnDn8w3Icu0RpggO45pesJLOYaYFzGk1BfEpUUWzkpgmqrqBX2vDiaR eO2LIFALoE0Ez+bQo/VcsZr2+Tgq9iNJodrzkGn3XhVbjAsGwS7KeX7W17O5NLc/ayWG v1Lbw6g+mp/ha4Pu/7GXyS7k6q7BalTVqiwRTlSmuMGgD6M61YYO3PHGWFlCn3V9IGWW Zh1nieAPQ8swEUBKVWsEUi6eKCCOkkBZpvmPeyRAh1uPBsxwA/Wv8HPC8S2kKj7iGEVT RuOhSVzEESN0rDVaIxHxn5d0PWP0ocKfUhAa3gO1TfESyS7mBHg4HN6E48kBFPWswHN1 8Ktw== X-Forwarded-Encrypted: i=1; AJvYcCXPujEm9bNfD4rn5dD3HhpYin9CpwHyfOcfZ9foOdGqlnF7XnUQvrKvxlP9rt3H+8C2oseGucemfT4Pz0VpdN2pb1AgPdWZlhT15n4a X-Gm-Message-State: AOJu0YxEHnamUdcLYZd8h4J8Q+VLuWAtuP2GV6cYBkFtVgrrw8AHRoT0 X8qF1DWt/kqFY17FRTTImbYLgYe60uzSYzbs5a46wJLDFzWMkmiT5pz7HWi3l4YsmvGF9ouFrjE lCGY2TK46i4eZnvzJFY1J9PEzWlJX2JzXmhpmbA== X-Received: by 2002:a17:906:f298:b0:a52:2486:299f with SMTP id a640c23a62f3a-a59fb9e9959mr112631066b.71.1715156486167; Wed, 08 May 2024 01:21:26 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <2625b40f-b6c5-2359-33fe-5c81e9a925a9@huaweicloud.com> In-Reply-To: <2625b40f-b6c5-2359-33fe-5c81e9a925a9@huaweicloud.com> From: Miklos Szeredi Date: Wed, 8 May 2024 10:21:14 +0200 Message-ID: Subject: Re: WARNING in fuse_request_end To: Hou Tao Cc: lee bruce , linux-fsdevel@vger.kernel.org, yue sun , linux-kernel@vger.kernel.org, syzkaller@googlegroups.com Content-Type: text/plain; charset="UTF-8" On Tue, 7 May 2024 at 15:30, Hou Tao wrote: > diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c > index 3ec8bb5e68ff5..840cefdf24e26 100644 > --- a/fs/fuse/dev.c > +++ b/fs/fuse/dev.c > @@ -1814,6 +1814,7 @@ static void fuse_resend(struct fuse_conn *fc) > > list_for_each_entry_safe(req, next, &to_queue, list) { > __set_bit(FR_PENDING, &req->flags); > + clear_bit(FR_SENT, &req->flags); > /* mark the request as resend request */ > req->in.h.unique |= FUSE_UNIQUE_RESEND; > } > ACK, fix looks good. Would you mind resending it as a proper patch? Thanks, Miklos