Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3728556yba; Tue, 9 Apr 2019 03:37:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqcCql/3Njh7dyxjlnBrpQFq09LdCy8dqrEVmpF+t4Ye69ug20T/Yhw5el54+k8dRad2nq X-Received: by 2002:a17:902:f094:: with SMTP id go20mr36116779plb.159.1554806260518; Tue, 09 Apr 2019 03:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554806260; cv=none; d=google.com; s=arc-20160816; b=Aet14kFA58sV8NCNXOxdrRaxsKdflVEhW3ORmiv5IJWKIa/vjxliagZqarXToFvrYf eGqOdvYZdsUZ5cUL7OsVdfWpAERQvlfjkNRX3Zi8D7Gw/ZFoGGeSpTWRtkIBs+H7+S2S 5w7cV85cz9+VhprBRPTsrJw/2g8p7epCcZUiL3F/d1a8BrzuIzvhmny/VELb6laZwhZw lfCJBUW1kefUw6WZmEQjwKxzfEw8HqwGbMlrD3Sb4w8PLWmNNSIadHo/MuT2ZiRZGidS Pr+Udwon1bX4CkYq/GKPT69PDgXdW664KveaMeldqySqX1GlSumGDhtbCHvDZEe6aSsE eYCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=w1q6R8FaqZvxzfmC7rutVYvPev31sQi+YcnnZ3bb1ZQ=; b=VOpbz6qe6F1s3qWNgaLgsrvNsMYO9kp3IOdff9nVsg/wihJHi6IAyXw6sMhUCeBwM0 ORR8jYqAYfX6pligSTzYMOTh/n/NLr96bC/E9q8TeIjJ4ZUN7BVfh3Wz7+AF9lvXc+90 6NoSNYDd5idoZ8qVguvklJSFH/nzOzChs5ngkBCAcVtindHLcs8C6LUE2sEgfCDgkYdk Dt5uKXvio2SofZ29UCQTqZVJm4Hi1lK08OWk8tlKs8yKJeXIuuptL5aLWeGD1Xpe9pnp jjrr4uDsDiRAXI3cL8xK49c/U1nMsTpjbl4yydOHZ0FePybcCkP3v/61KRg1rQV+jnS8 fPdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=niuIzjc6; dkim=pass header.i=@codeaurora.org header.s=default header.b=AtJNHvog; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si26314893plr.253.2019.04.09.03.37.24; Tue, 09 Apr 2019 03:37:40 -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=@codeaurora.org header.s=default header.b=niuIzjc6; dkim=pass header.i=@codeaurora.org header.s=default header.b=AtJNHvog; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbfDIKgp (ORCPT + 99 others); Tue, 9 Apr 2019 06:36:45 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36820 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfDIKgp (ORCPT ); Tue, 9 Apr 2019 06:36:45 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 38DE460F37; Tue, 9 Apr 2019 10:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1554806204; bh=OZfI1a7JpaNy0NlOh+4S8ilRPffe+4gMJwOHIphPbXo=; h=From:To:Cc:Subject:Date:From; b=niuIzjc6EYSWATE4qAuvPuyDgOdY2qvSCS5I3TS9sFFPowVKaO4ZkE5/yJRhBGKZI ht4rvwU1ym3ROvAaw1ul8duiX48kDa9zL6HbzsB53BiuYvhqBXwGRXKmK6PRA6dUiK eTtm5Uo+BkbfNPlY8VOjRc8eYAEDx44yj71Y7wSE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from codeaurora.org (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: stummala@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6E8F960131; Tue, 9 Apr 2019 10:36:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1554806201; bh=OZfI1a7JpaNy0NlOh+4S8ilRPffe+4gMJwOHIphPbXo=; h=From:To:Cc:Subject:Date:From; b=AtJNHvogNucucuUZaWvMa+xBz+RDzcho2kgKu9FJq3XDtGt0bwh9NbRoyrzBAbsUI 0pfN7k9PyYVvPD5s3RHSWptyfcGUTJrRX2OJ4hf6NOSygoQGaVFBRXAFUhJuwwx+6i XvbFrTJcd5oa8S6yzoaPSCbILzVNizmbk7Xb20G8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6E8F960131 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=stummala@codeaurora.org From: Sahitya Tummala To: Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net Cc: Sahitya Tummala , linux-kernel@vger.kernel.org Subject: [PATCH 1/4] f2fs: add F2FS_IOC_RESIZE_FROM_END for compat_ioctl Date: Tue, 9 Apr 2019 16:06:15 +0530 Message-Id: <1554806178-32728-1-git-send-email-stummala@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add F2FS_IOC_RESIZE_FROM_END for f2fs_compat_ioctl() as well. Signed-off-by: Sahitya Tummala --- fs/f2fs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 42adfc2..0514935 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -3159,6 +3159,7 @@ long f2fs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) case F2FS_IOC_GET_PIN_FILE: case F2FS_IOC_SET_PIN_FILE: case F2FS_IOC_PRECACHE_EXTENTS: + case F2FS_IOC_RESIZE_FROM_END: break; default: return -ENOIOCTLCMD; -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.