Message ID | 20200111094901.841255643@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=JpBV=3A=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 545D4C33C9E for <stable@archiver.kernel.org>; Sat, 11 Jan 2020 10:01:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 286C62084D for <stable@archiver.kernel.org>; Sat, 11 Jan 2020 10:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578736901; bh=qKWuJhiIFt1cwzfYqWXteVeVO7+gTjjLjT3zqAHymas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=GP8EiDYxBhmrdcWp4PYYlS3suWFYq21DrJMDObP/i13mZgHHXrZuRa8NfyW28tCPQ PyNxxyKEXynYSo3sfPve62YGEnIpMYOdF5k5kSeT3bL3jmUyQYmOlAJRVJqnbdvTR/ G4A17DuJzvMITbqFWXrLYcU/cMg1CyS5sz65/Ogo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729144AbgAKKBk (ORCPT <rfc822;stable@archiver.kernel.org>); Sat, 11 Jan 2020 05:01:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:59234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728828AbgAKKBk (ORCPT <rfc822;stable@vger.kernel.org>); Sat, 11 Jan 2020 05:01:40 -0500 Received: from localhost (unknown [62.119.166.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2CAB02077C; Sat, 11 Jan 2020 10:01:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578736899; bh=qKWuJhiIFt1cwzfYqWXteVeVO7+gTjjLjT3zqAHymas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ACuKPkxGLHXWiekMwRIP1qqo5c71ZK+QD5AFMRzszCT6XHbaTUaY4QsWe+lqB4z17 JLTjJSY0e3x3aVeo3aV/jLqXkj//WcCJcKJMncVJ3+VW1hNdjFIiOE2gKDJvIFve4l zLixzbDn+0aEaEXsveaCThovgzI5IzIY0/WNU7o8= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Al Viro <viro@zeniv.linux.org.uk>, Arnd Bergmann <arnd@arndb.de> Subject: [PATCH 4.9 44/91] fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP Date: Sat, 11 Jan 2020 10:49:37 +0100 Message-Id: <20200111094901.841255643@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200111094844.748507863@linuxfoundation.org> References: <20200111094844.748507863@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1585,9 +1585,10 @@ COMPAT_SYSCALL_DEFINE3(ioctl, unsigned i #endif case FICLONE: + goto do_ioctl; case FICLONERANGE: case FIDEDUPERANGE: - goto do_ioctl; + goto found_handler; case FIBMAP: case FIGETBSZ: