Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5447009pxv; Wed, 28 Jul 2021 10:56:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxY6p9kLFNiy5cZusQqgamNdGXEgqV6mec4Ea25SoiZkY1a/GQKelcZa2y+C73DBw/cOTTv X-Received: by 2002:a6b:2bd4:: with SMTP id r203mr535909ior.157.1627494977881; Wed, 28 Jul 2021 10:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627494977; cv=none; d=google.com; s=arc-20160816; b=r5VRkQ/hz7UVCKLTRF+ge2eUzW//N9fMOtB5fVQkkanRkLR0Pj16VO/CA1YgXFIiPs aOj1Qh4AVMXmN490WiHGdUJuHcd6hDn+eNjGfg4tmPvwFt54nv5t5kCZi+9aVQu8nGy/ mZtY59yCNZ41gOrVA+nS34oJiG4AFSkR/NI6diNpS7TXtDF73jF8Ifodw2IScqIyrSUn IjOJv9LWpLz3FM8pMBz89OpYdfHPJCYiGSWaxCIlzylNFNuQ04yeklFW+r2mhMWZ+89n NF0YfNm2qvFoUJWV6vwxKFiIsyDjNtkgsXChkhYOulxIM2O98y4RA6DAH3KmXipmm+z0 DdBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=vaHWQMyapbwMNDooasKS1ZMgjJGMU/Tqpe97r0Mjc8M=; b=B5pwgCRPpiKFCpk297Xxrua9c2jCIXlmAnqnnl16+0l21Kz5fM1CgLwiNrXuSuZ/NU e5dtGcWIRNrkzfLlPviNDoT+Gv+WNDhSnjtVgorMXF9NpSdephfPoSgisRm6rSgqkR8v kN5gnDIp56b3yTT9iuT+8jbHpdsWfsRFaCGictq400CNijgwx2lCuFEBoKsqdufxbMez 7XMSwT6OgCu9A6jT8ZpTltc3ZRNTRZ6uKUL23J+3Rsjwmk1dsovg3bfmb2jCeE+TKcm1 weM4qxvPDhm6vAE5hpfJTteHRKdjzp/t6Vn2fzGfes3XYsL3AANSQA47p/BsyAN1TvNR tCrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g18si553622jat.28.2021.07.28.10.56.07; Wed, 28 Jul 2021 10:56:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231154AbhG1RzZ (ORCPT + 99 others); Wed, 28 Jul 2021 13:55:25 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:53936 "EHLO mail-pj1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbhG1RzW (ORCPT ); Wed, 28 Jul 2021 13:55:22 -0400 Received: by mail-pj1-f43.google.com with SMTP id j1so6335280pjv.3 for ; Wed, 28 Jul 2021 10:55:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vaHWQMyapbwMNDooasKS1ZMgjJGMU/Tqpe97r0Mjc8M=; b=KnTHJy4j2DE7U9mBziHMHZT+iHLv3pc8XwLSLfXFK5ZeV+R2cEIL3tJ7nqjikhlIOA uPpnnNiK4hxhTj3VRDBbf8MJKUrtmpcojMlidB8DEgKSeAOuieuaN4j5XsAAGCN7x/0K cisPB1a9xsnCM7ODe4hYU0xXVE4UU2nVcyl3eOX0CCWsdOG5TFkwne5uJmVROJJYbq7i vxMpKQI/mzj7CY2cMN9V8NYU/sLrjJGlB7Bml8XH6un+ntYYXcce0lR1NMkbcqu3Cxhf 5ce5UMn1sjPhtQmQCrc1sX7+Sw9/vUwV2+PBOZAjvLhhT1GP+7McGCHC2PRttU2iaMR7 9iyw== X-Gm-Message-State: AOAM533CQ8p+2FBX9641zzlM36joZ++8+jUD5mDdYR0nK/QbVgT/p3Sn cOe8RDAUBkUOy++xSMAcWwk= X-Received: by 2002:a63:5505:: with SMTP id j5mr93705pgb.250.1627494919816; Wed, 28 Jul 2021 10:55:19 -0700 (PDT) Received: from bvanassche-linux.mtv.corp.google.com ([2620:15c:211:1:3328:5f8d:f6e2:85ea]) by smtp.gmail.com with ESMTPSA id c7sm440015pgq.22.2021.07.28.10.55.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Jul 2021 10:55:18 -0700 (PDT) Subject: Re: [PATCH 2/4] configfs: Fix writing at a non-zero offset To: Bodo Stroesser , Christoph Hellwig Cc: Joel Becker , linux-kernel@vger.kernel.org, "Martin K . Petersen" , Yanko Kaneti , Brendan Higgins References: <20210723212353.896343-1-bvanassche@acm.org> <20210723212353.896343-3-bvanassche@acm.org> <7bee65ce-f5f1-a525-c72d-221b5d23cf3e@gmail.com> <4055ca70-7669-d00d-7c08-86fe75a3d377@gmail.com> <618b2bdc-282b-0a1d-1fc5-020cf80d7a7e@acm.org> From: Bart Van Assche Message-ID: <70ed90fc-9de0-efcf-b591-8f1accc7dda6@acm.org> Date: Wed, 28 Jul 2021 10:55:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/28/21 10:14 AM, Bodo Stroesser wrote: > I reviewed and tested the new patch. For me it works fine. > > Just one warning to fix: > > fs/configfs/file.c: In function ‘fill_write_buffer’: > fs/configfs/file.c:184:6: warning: unused variable ‘to_copy’ [-Wunused-variable] >   int to_copy, copied; >       ^~~~~~~ > > Apart from that you can add my tested-by or reviewed-by if you want. I will remove the 'to_copy' variable and also add your Tested-by. Thanks for having tested this patch! Bart.