Commit 800a9647 authored by David Howells's avatar David Howells

CacheFiles: Export things for CacheFiles

Export a number of functions for CacheFiles's use.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarSteve Dickson <steved@redhat.com>
Acked-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: default avatarRik van Riel <riel@redhat.com>
Acked-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Tested-by: default avatarDaire Byrne <Daire.Byrne@framestore.com>
parent 385e1ca5
...@@ -287,6 +287,7 @@ int fsync_super(struct super_block *sb) ...@@ -287,6 +287,7 @@ int fsync_super(struct super_block *sb)
__fsync_super(sb); __fsync_super(sb);
return sync_blockdev(sb->s_bdev); return sync_blockdev(sb->s_bdev);
} }
EXPORT_SYMBOL_GPL(fsync_super);
/** /**
* generic_shutdown_super - common helper for ->kill_sb() * generic_shutdown_super - common helper for ->kill_sb()
......
...@@ -445,6 +445,7 @@ int security_inode_create(struct inode *dir, struct dentry *dentry, int mode) ...@@ -445,6 +445,7 @@ int security_inode_create(struct inode *dir, struct dentry *dentry, int mode)
return 0; return 0;
return security_ops->inode_create(dir, dentry, mode); return security_ops->inode_create(dir, dentry, mode);
} }
EXPORT_SYMBOL_GPL(security_inode_create);
int security_inode_link(struct dentry *old_dentry, struct inode *dir, int security_inode_link(struct dentry *old_dentry, struct inode *dir,
struct dentry *new_dentry) struct dentry *new_dentry)
...@@ -475,6 +476,7 @@ int security_inode_mkdir(struct inode *dir, struct dentry *dentry, int mode) ...@@ -475,6 +476,7 @@ int security_inode_mkdir(struct inode *dir, struct dentry *dentry, int mode)
return 0; return 0;
return security_ops->inode_mkdir(dir, dentry, mode); return security_ops->inode_mkdir(dir, dentry, mode);
} }
EXPORT_SYMBOL_GPL(security_inode_mkdir);
int security_inode_rmdir(struct inode *dir, struct dentry *dentry) int security_inode_rmdir(struct inode *dir, struct dentry *dentry)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment