From: Chao Yu Subject: Re: [PATCH 2/2] f2fs: check range before defragment Date: Thu, 9 Mar 2017 14:38:47 +0800 Message-ID: References: <20170308024712.18167-1-shengyong1@huawei.com> <20170308024712.18167-2-shengyong1@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1clrjB-0007Rz-NQ for linux-f2fs-devel@lists.sourceforge.net; Thu, 09 Mar 2017 06:39:09 +0000 Received: from [45.249.212.187] (helo=dggrg01-dlp.huawei.com) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1clrjA-0002nl-Ja for linux-f2fs-devel@lists.sourceforge.net; Thu, 09 Mar 2017 06:39:09 +0000 In-Reply-To: <20170308024712.18167-2-shengyong1@huawei.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Sheng Yong , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net On 2017/3/8 10:47, Sheng Yong wrote: > This patch checks the parameter range passed by ioctl to void that range > exceeds the max_file_blocks limit. > > Signed-off-by: Sheng Yong Reviewed-by: Chao Yu ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford