Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1069637imm; Fri, 27 Jul 2018 10:36:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcxtzDRcJeemmL3hFQd86dcmoH/Vh6TjCrXW7IUEcyJsxzfpWcNtbSe5zoJM7wsOYc8iRdk X-Received: by 2002:a62:4cd3:: with SMTP id e80-v6mr7467604pfj.234.1532712974306; Fri, 27 Jul 2018 10:36:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532712974; cv=none; d=google.com; s=arc-20160816; b=XPRRDkp9KPSLfesuh2lXZZ9f/ZwEiZUP0E6vAcEFi2jmtx5d7vtw4tTxKyKV8Ucp2Q iMKc8ca97AMpt6H9sFW9RX+93kCmz/MXb1SahGXAOyauYevVjqSV7DkAahUlUiJZVMx1 tPB9wRuSvEU5U5ZkozFA81fIW1HPxEB+w7RQ8+Jdiqw6GgO1sjC/CtgHerY4TY/TE0F5 T5MEkiwrnXnVjSn3ICi3C+s9OTOo6r0tmL5Lc+5+JmaYR39gijDYLTl6U4Bxj6p9U+px unqkr8UVgMF6LMRu9gUUZ5uzeWLNtagOY3ani6qL4GSMOmDFCInjgQ5clJs8qOzW72bI +ZTw== 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=RCNONclZfjdVgYFq7x2WV7Djveijwpn4eFEJmW/o3eJ5mAomzDrbrlcLhF6f13DaOA 1w4c/Xk8cA/1BbATZ3XSFKkhHOSgx2SIuENLj3kEQb9lu8IdQ0DIcOHYg5FONXWd0cFE skYNckpIrv0Lb9xj5kxJs5WkZy07NVWZl+yUK4YhkddyadlyMOGZoko7qHsOol8ojNz3 efVtZ5Kj+kcyKn8Jmevv/fwdocxInmtQOJpKVAU7xhX3QFhXtDFp7SBpf+pRLh9PyOp7 hdNDeCd+WEFT6LND5/HKYTg1Gr0RqGnnORifnoCHpH5nYXeFs+fEXYqipA82gqE3FsBh kElQ== 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 g87-v6si4706244pfg.225.2018.07.27.10.35.59; Fri, 27 Jul 2018 10:36:14 -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 S2389686AbeG0S4w (ORCPT + 99 others); Fri, 27 Jul 2018 14:56:52 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40368 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388999AbeG0S4w (ORCPT ); Fri, 27 Jul 2018 14:56:52 -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 A0DD28197011; Fri, 27 Jul 2018 17:33:58 +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 06D002026D6B; Fri, 27 Jul 2018 17:33:57 +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 23/38] vfs: Remove kern_mount_data() [ver #10] 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: Fri, 27 Jul 2018 18:33:57 +0100 Message-ID: <153271283754.9458.6459415286106929492.stgit@warthog.procyon.org.uk> In-Reply-To: <153271267980.9458.7640156373438016898.stgit@warthog.procyon.org.uk> References: <153271267980.9458.7640156373438016898.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.8]); Fri, 27 Jul 2018 17:33:58 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 27 Jul 2018 17:33:58 +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 *);