From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: [PATCH 08/14] CacheFiles: Export things for CacheFiles Date: Tue, 31 Jul 2007 21:25:36 +0100 Message-ID: <20070731202536.6412.55024.stgit@warthog.cambridge.redhat.com> References: <20070731202454.6412.88646.stgit@warthog.cambridge.redhat.com> Reply-To: Linux filesystem caching discussion list Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org To: torvalds@osdl.org, akpm@osdl.org, steved@redhat.com, trond.myklebust@fys.uio.no Return-path: In-Reply-To: <20070731202454.6412.88646.stgit@warthog.cambridge.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cachefs-bounces@redhat.com Errors-To: linux-cachefs-bounces@redhat.com List-Id: linux-fsdevel.vger.kernel.org Export a number of functions for CacheFiles's use. Signed-Off-By: David Howells --- fs/file_table.c | 1 + fs/super.c | 2 ++ kernel/auditsc.c | 2 ++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index d17fd69..a438ecc 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -234,6 +234,7 @@ struct file fastcall *fget_light(unsigned int fd, int *fput_needed) return file; } +EXPORT_SYMBOL_GPL(fget_light); void put_filp(struct file *file) { diff --git a/fs/super.c b/fs/super.c index fc8ebed..c0d99dd 100644 --- a/fs/super.c +++ b/fs/super.c @@ -270,6 +270,8 @@ int fsync_super(struct super_block *sb) return sync_blockdev(sb->s_bdev); } +EXPORT_SYMBOL_GPL(fsync_super); + /** * generic_shutdown_super - common helper for ->kill_sb() * @sb: superblock to kill diff --git a/kernel/auditsc.c b/kernel/auditsc.c index a777d37..1c068ec 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -1526,6 +1526,8 @@ add_names: } } +EXPORT_SYMBOL_GPL(__audit_inode_child); + /** * auditsc_get_stamp - get local copies of audit_context values * @ctx: audit_context for the task