Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp597784ima; Fri, 1 Feb 2019 08:01:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN4WFC2o7p0DzgsaxtvwyAa/+dtfvB7xq4TiMhu1kgVZP4rGtHNGsBBuBr+WgzPKK0hTs5hq X-Received: by 2002:a63:484c:: with SMTP id x12mr35971685pgk.375.1549036900449; Fri, 01 Feb 2019 08:01:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549036900; cv=none; d=google.com; s=arc-20160816; b=pO/CElaWZm+vgYVVvfXRKqOqb+cBUiJB7fwIHWpviMZBvjD4Ez+0gUMWaE61F3XdT+ V6WzD8OpUlafvyWZclTCtHWkg9N5TbYfMv5OgpBC1cFs1A2DjVtzuoo0zuGE+JKl43PI sfVhgXBjkH2a3eW6p5TauoxJr/vvmqznyrBBnnfjKfeTgBOvyi5zwkVk+r6e2c3FbFLJ DQ58QLgMVdafOKJckim5dmZw2fx4ScFl5hIWvJnKF93KDiPL9dg3zJsQ9UtM8ASs69PQ x7XoiP/hsHqXz78HO9h1daxghI+F4n/IojmquSTK3Z1iNdoSE9j5vpwLrnYnH+P0A++D TP9g== 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:to:subject:dkim-signature; bh=MgllQWYMWrpGw26t4rnrN7DWTis2aQimx3ZYS328ULA=; b=Yl7kOVTcSbLChqSqU42MkWIocr8UNVFZd4bjjJJJB7ztU9zuUz5LfabTdEDFkIiBt3 LtqFSRUzTCUGoSRXDbwXwMn4R/KeB1mZcO7p7m8HlpQZNVgs3lUvclTB1IXco+M3Lx1F nLm+Q3OJvMEXPWgP1AM41YIer4Bagx1DhmPD8OQg2PYHHBOsqpwXAazOYui8tulqu5S4 J9ru34IaXBR2JGWaqBKl/f6eoFUy1b5yhe4igWivwb3xjbahLK4NmB8AOxqP4KhjEhMe 1I7I+pf7LlhBsSJKJdFQNRfrv8XLsz//33edi3owqWMHMmgR0ioyZy+UprMqOamnZUvu jQDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DUzPKH6O; 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 1si89499plr.189.2019.02.01.08.01.24; Fri, 01 Feb 2019 08:01:40 -0800 (PST) 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=DUzPKH6O; 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 S1727042AbfBAQAp (ORCPT + 99 others); Fri, 1 Feb 2019 11:00:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:38708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfBAQAo (ORCPT ); Fri, 1 Feb 2019 11:00:44 -0500 Received: from [192.168.0.101] (unknown [49.65.250.93]) (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 78F2F21872; Fri, 1 Feb 2019 16:00:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549036844; bh=/dh06JGFk8ckmJ0IbY2Sl0U0VLgSG07iiObes7D82HM=; h=Subject:To:References:From:Date:In-Reply-To:From; b=DUzPKH6O3PKeZchCYVmxYMwnj5aC5HyD/+rNBzO1qZzcB3JL+bk5dPg9jW6ZLA+zL Wu7kCqy5l/5DWfJjQ/eYo0Gj9YDADKQG4bHZXnjRnEFR7WQAqV3pfZ5obT7/0W+7Sh eVGDQzvrWBriYEDp1uTsJ8HP/uscyUy4zfakU79o= Subject: Re: [f2fs-dev] [PATCH 5/7] f2fs: avoid null pointer exception in dcc_info To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20190128234717.77225-1-jaegeuk@kernel.org> <20190128234717.77225-5-jaegeuk@kernel.org> From: Chao Yu Message-ID: Date: Sat, 2 Feb 2019 00:00:35 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190128234717.77225-5-jaegeuk@kernel.org> 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 2019-1-29 7:47, Jaegeuk Kim wrote: > If dcc_info is not set yet, we can get null pointer panic. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,