Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4544480imm; Wed, 30 May 2018 07:33:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ3VRfTfEQJ6Ggd4qQxCzc03/sTnlXeRyoK1PCIXiP0lKPSg6hgDPF9DP/a067EtZcPpiQp X-Received: by 2002:a62:20c7:: with SMTP id m68-v6mr2997570pfj.110.1527690839493; Wed, 30 May 2018 07:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527690839; cv=none; d=google.com; s=arc-20160816; b=dgI6dq0j5lYi+a5KwxIaXZ6aln2Y+x0h1wAhsLQNu7gVFAhrJjDIHi4HUfL6Lu1KXA E19w/sFhEs3hYJZKCJCVIIhhTfKxOx8r0m8u7zthyud50gbBsmjCAPFHC6KrHIJuleRU V8TFr5fZafLfRdlP9XiTvyMvQOM59lcOOzM8hG/XpkXRjT1fTVAOZMDZO0zzWSTIJqSF 68n3m6sUJcK2O0jNMoy0+YRMChd7JuAPOABKwNWG/aY4hkqrSsatPTIgrgOZkk9WEjUK SBt0W3zE64VSDkhD2WHAoRg+UjT66cFO3efx3peGB7vRME1uXgxzFS7sje8MLGyKr4Br XdYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Kj6M/JpApMuQVkvaNA7Gjppg5m8G1sabSHfhEOTD5mA=; b=j0N08JgcUumXGMAjjlgoBTbWnJDVFeSapmQwdqUMSSYW+P5WOEY7aiBv1ryVymYnMZ c2RpCiFAehLdagsAhiMMvYF4Gx2274GbdSPw2RKO7+SEshV+fJSBdrRL7Hc/uGruGWD7 aMrqlc51r2ut1kg9FTR2hKvv9KVL8Xs3oUdLr+tUhmP2VT/SGALI/rOiUYi+D2UUzVZb v9SOW5XDy3n9arvbqeEAhUhYZtR3QKnadJW5OTNEpxe+3yJwUA/vEi4kZJtckBzcV9u4 o2fbBquqRtJzZUwyZfcMamvBZSUmRfVQD7MwIDMq1sdDpjK5Bcb6WsMpBLNMDUqRZ9KW efMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o0Or6Gou; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m27-v6si34073967pfj.192.2018.05.30.07.33.45; Wed, 30 May 2018 07:33:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o0Or6Gou; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753600AbeE3Ob3 (ORCPT + 99 others); Wed, 30 May 2018 10:31:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:34830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554AbeE3Ob0 (ORCPT ); Wed, 30 May 2018 10:31:26 -0400 Received: from [192.168.0.101] (unknown [49.77.239.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7236820876; Wed, 30 May 2018 14:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527690686; bh=crkDdQSYSn7nNgrYspkoY75xyd+gSYXL48HX4vok1jA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=o0Or6GouUHoFPDv+Gnwl9EXy583nsnkavdCDwgN6sBNSky8KGOJ6pnBoWlr9Zmq5G rhK/gfymwqe7hA8m2i3NzfYnRhHQkCM34pg/w2f7PKRYAyxZFrpXrESugFtkY+nIUw Cd9n4akaclOmhLEy5nLZz87oruXQjlHJkhBTX+6E= Subject: Re: [PATCH rebase] f2fs-tools: fix overflow bug of start_sector when computing zone_align_start_offset To: Yunlong Song , jaegeuk@kernel.org, yuchao0@huawei.com, yunlong.song@icloud.com Cc: miaoxie@huawei.com, bintian.wang@huawei.com, shengyong1@huawei.com, heyunlei@huawei.com, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <1527322189-114752-1-git-send-email-yunlong.song@huawei.com> <1527663509-143986-1-git-send-email-yunlong.song@huawei.com> From: Chao Yu Message-ID: <2c8079d6-af80-52c0-5359-6c09c6cab416@kernel.org> Date: Wed, 30 May 2018 22:30:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1527663509-143986-1-git-send-email-yunlong.song@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/5/30 14:58, Yunlong Song wrote: > zone_align_start_offset should be u64, but config.start_sector is u32, > so it may be overflow when computing zone_align_start_offset. > > Signed-off-by: Yunlong Song Reviewed-by: Chao Yu Thanks,