Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp991538imm; Wed, 1 Aug 2018 08:28:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdLLpLTPB93Z0spPFaGPRYHgSLLAHRZICZ1yu6XZhBnsR5Fcf6cWgrUWs20sigSAPFw3sPb X-Received: by 2002:a65:504c:: with SMTP id k12-v6mr24959698pgo.435.1533137313440; Wed, 01 Aug 2018 08:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533137313; cv=none; d=google.com; s=arc-20160816; b=Jy76OwQuSnJu1RIXm3GfmnGwggAhhdf2gOEvBRauVfRioII/GjOq531C9mQn4eRW0f eOTQdrIAYLfT4YRizlpzwxGzJMlahUeEPKyu+keDCfc1F0U4sZF1u3eeRoF74pqwN7rS t4xdeJRgXF0SYx0Sws0uJ2L32Cr3SjkSSzc948B1Ti/A6znBZp0DctbyvCTBaSOPWdPz XrTwQXFt/NLmEt2rxzotbnn+8mSRdybcFUyR+rfjUOdjwRBGIHo6EoA3yKTxFVgSdiUE yv6F8CsuWn/6Po/8kP2WLXW7PnXhLHqPY55luNozDRa2sy8/FT5Jg0XIjvRtFe6Zzmhw OOeQ== 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:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:organization:arc-authentication-results; bh=8c1AnL4LKzDyx2o8K+EbTXJByetdVra04Vvlad+LBi8=; b=TLSIvYZJqYeY3TYXCUV8gncrnK5iHdv+GCihpjc67IJj0oCs6wqUYfxDm/5CEdnkyg Xdwbmn5rQQsSdVW+MmelnicuvhHMWtSyMypvuRdksGX44mLyAQStRm1f9+qGQf3i7dp0 p8elb2NrQA9QBOtAkgkdGSbdAHOJMnuWRlvUjy9ylJr9o+sq6CuQCdvSD3WsVU3RpkUp z6MRsDEmCfF6qMfTBpK04a6tVstKQ2sKraTFFVOoXKHYIyZqYNNnANWlG02B6C39BA0y xoT8366pYQfBHyKbcpjprBU1lFUYyqP+HiPhzSEVG2etNRhFxJPPO49MBYHRIMJ5G7sL +3vw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4-v6si17694711pfh.168.2018.08.01.08.28.18; Wed, 01 Aug 2018 08:28:33 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403850AbeHARMv (ORCPT + 99 others); Wed, 1 Aug 2018 13:12:51 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59982 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389725AbeHARMu (ORCPT ); Wed, 1 Aug 2018 13:12:50 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E4C574023461; Wed, 1 Aug 2018 15:26:36 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-116.rdu2.redhat.com [10.10.120.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4AECC2026D68; Wed, 1 Aug 2018 15:26:36 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 22/33] vfs: Remove kern_mount_data() [ver #11] From: David Howells To: viro@zeniv.linux.org.uk Cc: torvalds@linux-foundation.org, dhowells@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 01 Aug 2018 16:26:35 +0100 Message-ID: <153313719580.13253.10449818927537069378.stgit@warthog.procyon.org.uk> In-Reply-To: <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> References: <153313703562.13253.5766498657900728120.stgit@warthog.procyon.org.uk> User-Agent: StGit/unknown-version MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 01 Aug 2018 15:26:36 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 01 Aug 2018 15:26:36 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kern_mount_data() isn't used any more so remove it. Signed-off-by: David Howells --- fs/namespace.c | 7 ------- include/linux/fs.h | 1 - 2 files changed, 8 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 51a6799c3f61..ea07066a2731 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -3347,13 +3347,6 @@ struct vfsmount *kern_mount(struct file_system_type *type) } EXPORT_SYMBOL_GPL(kern_mount); -struct vfsmount *kern_mount_data(struct file_system_type *type, - void *data, size_t data_size) -{ - return vfs_kern_mount(type, SB_KERNMOUNT, type->name, data, data_size); -} -EXPORT_SYMBOL_GPL(kern_mount_data); - /* * Move a mount from one place to another. * In combination with open_tree(OPEN_TREE_CLONE [| AT_RECURSIVE]) it can be diff --git a/include/linux/fs.h b/include/linux/fs.h index 00a24f4b2f0b..3e661d033163 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2214,7 +2214,6 @@ mount_pseudo(struct file_system_type *fs_type, char *name, extern int register_filesystem(struct file_system_type *); extern int unregister_filesystem(struct file_system_type *); extern struct vfsmount *kern_mount(struct file_system_type *); -extern struct vfsmount *kern_mount_data(struct file_system_type *, void *, size_t); extern void kern_unmount(struct vfsmount *mnt); extern int may_umount_tree(struct vfsmount *); extern int may_umount(struct vfsmount *);