From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbeCPIVo (ORCPT ); Fri, 16 Mar 2018 04:21:44 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6650 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751783AbeCPIVn (ORCPT ); Fri, 16 Mar 2018 04:21:43 -0400 Subject: Re: [PATCH 1/1] f2fs: release locks before return in f2fs_ioc_gc_range() To: sunqiuyang , , , References: <20180313114250.29211-1-sunqiuyang@huawei.com> From: Chao Yu Message-ID: <63c81dbc-e561-aa5a-a375-ae14bca5f4ac@huawei.com> Date: Fri, 16 Mar 2018 16:21:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180313114250.29211-1-sunqiuyang@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/3/13 19:42, sunqiuyang wrote: > From: Qiuyang Sun > > Currently, we will leave the kernel with locks still held when the gc_range > is invalid. This patch fixes the bug. > > Signed-off-by: Qiuyang Sun Reviewed-by: Chao Yu Thanks,