Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2219828imm; Tue, 10 Jul 2018 15:45:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpea1lfgu4XwmncJ102MqtnG9ozJBGQzI824jQfA8OQRQpgISqxoHV3lMpRejDsPjesCFWb1 X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr25971237pld.315.1531262726400; Tue, 10 Jul 2018 15:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531262726; cv=none; d=google.com; s=arc-20160816; b=lQHzXF5OjyLbRfKG+8+W0ToWR/3LXBrnbnISr3VvYGnrT1kg0lU01ani8sO/ZJ+q6L BPAjPrBkVr2LMyZI7vR7zyP2Apa1Kb30LL9vj9HrTMTyv9Vs9vFnyOiyPKGi+y26UhRS MY34CK42EK9a2fdPhXx75arRb/k/Ot53v7PbkPKffypx9Y/MWfNTcdJ53s54fle7SsUV 8bydF25+ShKQ9ubZ97Bg01qocHPdH0CvmS/04oimsHsSaNIwdbpzNQz9kuV5LLGbb38S TfvUSgVEThYHSWyV5I8rdGQHgacVH2eGCmJFAMs4GPsyQ9KbhB/ZhrjTIGZW/LkO299g vALg== 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=v0l1dOFkdPFp2JqsIt45H/7sE5F3j8lbk1F3h/Lva1g=; b=p0VWozzpTL+R6EKK0GVY2kponeNFSgrkH9g5FFJs9544TuPEhOymvdaWEyyOBEp5yy YDu4+bAHZ1IambHu2fyvYR8NJPA2zvXrBiaNZpvae4Qt5RFgpUwHfDGygaF5YEXZwhAm 9qtn0i75VHZnsdJskjA3xloo5L1IQWOdKxzNa0ozYqXBa3J5+wPNPFPbog6R85sFY2i5 hadhQp+gIYL559AsU7m/RdJVFvxUqBLQkYYqQDXxPlgyQL8m7CR1Q3q01PuB5rjQplIo YtM/nM0bOezk4MBfSxHC6WFhD1F79fV+3Taww7KkpDZlXzvIDrmz62eInFzbt8aNie5/ 8MYg== 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 b1-v6si17159509pli.54.2018.07.10.15.45.10; Tue, 10 Jul 2018 15:45:26 -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 S1732786AbeGJWpG (ORCPT + 99 others); Tue, 10 Jul 2018 18:45:06 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40116 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732488AbeGJWpF (ORCPT ); Tue, 10 Jul 2018 18:45:05 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DB7CE8A719; Tue, 10 Jul 2018 22:43:51 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-149.rdu2.redhat.com [10.10.120.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id 46EB12156891; Tue, 10 Jul 2018 22:43:51 +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 21/32] vfs: Remove kern_mount_data() [ver #9] From: David Howells To: viro@zeniv.linux.org.uk Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org Date: Tue, 10 Jul 2018 23:43:50 +0100 Message-ID: <153126263081.14533.4609811551478183641.stgit@warthog.procyon.org.uk> In-Reply-To: <153126248868.14533.9751473662727327569.stgit@warthog.procyon.org.uk> References: <153126248868.14533.9751473662727327569.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.17.1-dirty 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.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 10 Jul 2018 22:43:51 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Tue, 10 Jul 2018 22:43:51 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.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 3bae16db1b1d..d5a4d9351a17 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -3346,13 +3346,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 88de0f586b38..e6d963f2fdc2 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2211,7 +2211,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 *);