[patch 06/10] unprivileged mounts: put declaration of put_filesystem() in fs.h

Previous thread: [PATCH 7/9] Containers (V9): Make cpusets a client of containers by menage on Friday, April 27, 2007 - 6:46 am. (1 message)

Next thread: [patch 07/10] unprivileged mounts: allow unprivileged mounts by Miklos Szeredi on Friday, April 27, 2007 - 8:04 am. (1 message)
To: <akpm@...>, <serue@...>, <viro@...>, <linuxram@...>, <ebiederm@...>, <kzak@...>
Cc: <linux-fsdevel@...>, <linux-kernel@...>, <containers@...>
Date: Friday, April 27, 2007 - 8:04 am

From: Miklos Szeredi <mszeredi@suse.cz>

Declarations go into headers.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---

Index: linux/fs/super.c
===================================================================
--- linux.orig/fs/super.c 2007-04-26 13:08:34.000000000 +0200
+++ linux/fs/super.c 2007-04-26 13:46:26.000000000 +0200
@@ -40,10 +40,6 @@
#include <asm/uaccess.h>

-void get_filesystem(struct file_system_type *fs);
-void put_filesystem(struct file_system_type *fs);
-struct file_system_type *get_fs_type(const char *name);
-
LIST_HEAD(super_blocks);
DEFINE_SPINLOCK(sb_lock);

Index: linux/include/linux/fs.h
===================================================================
--- linux.orig/include/linux/fs.h 2007-04-26 13:17:13.000000000 +0200
+++ linux/include/linux/fs.h 2007-04-26 13:46:26.000000000 +0200
@@ -1919,6 +1919,8 @@ extern int vfs_fstat(unsigned int, struc

extern int vfs_ioctl(struct file *, unsigned int, unsigned int, unsigned long);

+extern void get_filesystem(struct file_system_type *fs);
+extern void put_filesystem(struct file_system_type *fs);
extern struct file_system_type *get_fs_type(const char *name);
extern struct super_block *get_super(struct block_device *);
extern struct super_block *user_get_super(dev_t);

--
-

Previous thread: [PATCH 7/9] Containers (V9): Make cpusets a client of containers by menage on Friday, April 27, 2007 - 6:46 am. (1 message)

Next thread: [patch 07/10] unprivileged mounts: allow unprivileged mounts by Miklos Szeredi on Friday, April 27, 2007 - 8:04 am. (1 message)