From: Miklos Szeredi Subject: [patch 6/8] put declaration of put_filesystem() in fs.h Date: Wed, 04 Apr 2007 20:30:18 +0200 Message-ID: <20070404183057.591653604@szeredi.hu> References: <20070404183012.429274832@szeredi.hu> Cc: linux-fsdevel@vger.kernel.org, util-linux-ng@vger.kernel.org To: akpm@linux-foundation.org Return-path: Received: from mail-gw1.sa.eol.hu ([212.108.200.67]:34580 "EHLO mail-gw1.sa.eol.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753954AbXDDScH (ORCPT ); Wed, 4 Apr 2007 14:32:07 -0400 Content-Disposition: inline; filename=put_filesystem_in_header.patch Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org From: Miklos Szeredi Declarations go into headers. Signed-off-by: Miklos Szeredi --- Index: linux/fs/super.c =================================================================== --- linux.orig/fs/super.c 2007-04-04 19:29:41.000000000 +0200 +++ linux/fs/super.c 2007-04-04 19:30:05.000000000 +0200 @@ -40,10 +40,6 @@ #include -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-04 19:29:57.000000000 +0200 +++ linux/include/linux/fs.h 2007-04-04 19:30:05.000000000 +0200 @@ -1858,6 +1858,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); --