[Linux-cachefs] [PATCH 08/14] CacheFiles: Export things for CacheFiles

David Howells dhowells at redhat.com
Tue Jul 31 20:25:36 UTC 2007


Export a number of functions for CacheFiles's use.

Signed-Off-By: David Howells <dhowells at redhat.com>
---

 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




More information about the Linux-cachefs mailing list