Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3571522pxj; Mon, 21 Jun 2021 01:33:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxr1aKQt8YR1Vj/Ncm3XRkKJ/QZSjcu8QAuuFpBEdnmKEF7fNXEsIpWghkv3xBMrBxdTAA X-Received: by 2002:a02:a810:: with SMTP id f16mr16285187jaj.64.1624264425620; Mon, 21 Jun 2021 01:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624264425; cv=none; d=google.com; s=arc-20160816; b=wf1DZgdzWAX41Hf9f2Lksp81A9N6i8n2R2uYJhxquumUpF9lcLDsNaQD3nhQY9tBhd SBU7otBsnrXB8fyhroF/3b3lOthLMZe2wRU3Q+CSk+/dl0Awe9UbI6fE83vyycf5PntS kSWHh5FJvcxbUjcb3HtfrpVUHMuHR0mM0L8NVRLbR80Ext96jrwLwOq7tn7DFETGXP/h gPPaZLDH1KQg88v5GOiaKSpgN+OcvIaQAgF7WCKmB5tya+6fPMqeYp8ZtmatccxXyBQI nTTZT4ZMOMSmwz4vflb1MG20fi2sbNK09vL61wbTCs29ZlIXgxy3EJCOskHS5bLa+YAu Y9lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AyR5BeTCOPiEzhLXOoP4zgcKDESexLdcdJu4pl65SiY=; b=LSgPabyzp1Iyt1or7pDU7XKEftD38LqN/JB7skcJjYvFugXIWeNdqKg4/KcF6iMMlc 3isUE9NHAl6JEADAj75MPUgIA4gM89So9rsrEr7IYGpGlIBsWox7I6tZBoksUzz6XPs0 cRk/ZjXoGRMGz4fo/bSt7m7zDT3fb7iW2knCibE2RKfkEgkxF2bcPPEto890ApzOUsVu BIpl8cdwU3BVnbem+GtCITfPiAPJm/PTZspDJxG7KMU2OfSUQl44H+3SpXTIaInK3saO ZWJLPkUs6zzPfkZ25ZUMVh7lgHVh+x17LngM8VK1zJDLowNsCoSDAYiazo8BRMY5YIBr U2gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=Ts+cw78r; 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 g3si17431316ioh.101.2021.06.21.01.33.33; Mon, 21 Jun 2021 01:33:45 -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; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=Ts+cw78r; 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 S230137AbhFUIfR (ORCPT + 99 others); Mon, 21 Jun 2021 04:35:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbhFUIfJ (ORCPT ); Mon, 21 Jun 2021 04:35:09 -0400 Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E089C061787 for ; Mon, 21 Jun 2021 01:32:54 -0700 (PDT) Received: by mail-ua1-x92c.google.com with SMTP id r9so4718883ual.7 for ; Mon, 21 Jun 2021 01:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AyR5BeTCOPiEzhLXOoP4zgcKDESexLdcdJu4pl65SiY=; b=Ts+cw78rGUGx1mzVOd0XZDx4w2BACVKVIHtmARCSf+GwfAQYzOr67ryufCc/Wx3cTt +FIa+a6iv+cUndApmhERphBKGwytNCLYq9lnfxZxOXH6ah55qdzGVO+70isk8YZhVMoA tNuHswn3UnHCUuKROkp8QWeCmBojXCkhgrb8k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AyR5BeTCOPiEzhLXOoP4zgcKDESexLdcdJu4pl65SiY=; b=Nxk4lzElPhX5gOVD9BoPDC2MtsX/5NjlC1uSuBD4zZQvcVpDtMGjxmspX3J8nj9+jD YdFreeWGG8WP+LLB0LwGe+AFa9BqR7XKIoWtA9CZ4eSU9xOSLxQPfILN6UtrNj9oMsNC mJ2M1MREdqOSVW+YV4T91ok16YEjNzGyFwYfXKy/xjaoy9BXB+QaVh1ByUHaMaOEQo78 s9UbBIGHk7XKm7NfRaYWub/hWze9Z1sYQr8xDBWhNW80wkbTj3qkwVu2DyD6Vh+4MQnv 2EM1O9l6V9tao5yYmrcxBPkp0UTti9U/2RJuL/MXJv9STq6VMKPge+8zF0PrE6tXUGQS Vwsg== X-Gm-Message-State: AOAM530olDuhhI/eRK70kfy7mqjGHAJ3/SacfLlGKYPItlA8XCZrx8Uw sfUxJRL0AbGjGRt3oIqDyhy9dtf0qBqYAtDQJ5gR2A== X-Received: by 2002:ab0:6998:: with SMTP id t24mr21315544uaq.72.1624264373720; Mon, 21 Jun 2021 01:32:53 -0700 (PDT) MIME-Version: 1.0 References: <1621928447-456653-1-git-send-email-wubo40@huawei.com> In-Reply-To: <1621928447-456653-1-git-send-email-wubo40@huawei.com> From: Miklos Szeredi Date: Mon, 21 Jun 2021 10:32:43 +0200 Message-ID: Subject: Re: [PATCH] fuse: use DIV_ROUND_UP helper macro for calculations To: Wu Bo Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linfeilong Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 May 2021 at 09:15, Wu Bo wrote: > > From: Wu Bo > > Replace open coded divisor calculations with the DIV_ROUND_UP kernel > macro for better readability. Applied, thanks. Miklos