summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorDavid Howells2019-03-25 17:38:28 +0100
committerAl Viro2019-05-26 00:06:17 +0200
commit023d066a0d0a87696c04b0de2ceae53063d0b655 (patch)
treeb8e8ba8cd0c32d463cc1627becfdea2b98c9645b /include/linux/fs.h
parentvfs: Use sget_fc() for pseudo-filesystems (diff)
downloadkernel-qcow2-linux-023d066a0d0a87696c04b0de2ceae53063d0b655.tar.gz
kernel-qcow2-linux-023d066a0d0a87696c04b0de2ceae53063d0b655.tar.xz
kernel-qcow2-linux-023d066a0d0a87696c04b0de2ceae53063d0b655.zip
vfs: Kill sget_userns()
Kill sget_userns(), folding it into sget() as that's the only remaining user. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index d625acabbfcf..71421856ff2c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2245,11 +2245,6 @@ void free_anon_bdev(dev_t);
struct super_block *sget_fc(struct fs_context *fc,
int (*test)(struct super_block *, struct fs_context *),
int (*set)(struct super_block *, struct fs_context *));
-struct super_block *sget_userns(struct file_system_type *type,
- int (*test)(struct super_block *,void *),
- int (*set)(struct super_block *,void *),
- int flags, struct user_namespace *user_ns,
- void *data);
struct super_block *sget(struct file_system_type *type,
int (*test)(struct super_block *,void *),
int (*set)(struct super_block *,void *),