aboutsummaryrefslogtreecommitdiffstats
path: root/fs/relayfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/relayfs')
-rw-r--r--fs/relayfs/inode.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/relayfs/inode.c b/fs/relayfs/inode.c
index a5e6d4f2efb9..b2f50655736b 100644
--- a/fs/relayfs/inode.c
+++ b/fs/relayfs/inode.c
@@ -225,6 +225,17 @@ int relayfs_remove(struct dentry *dentry)
225} 225}
226 226
227/** 227/**
228 * relayfs_remove_file - remove a file from relay filesystem
229 * @dentry: directory dentry
230 *
231 * Returns 0 if successful, negative otherwise.
232 */
233int relayfs_remove_file(struct dentry *dentry)
234{
235 return relayfs_remove(dentry);
236}
237
238/**
228 * relayfs_remove_dir - remove a directory in the relay filesystem 239 * relayfs_remove_dir - remove a directory in the relay filesystem
229 * @dentry: directory dentry 240 * @dentry: directory dentry
230 * 241 *
@@ -600,6 +611,7 @@ EXPORT_SYMBOL_GPL(relayfs_file_operations);
600EXPORT_SYMBOL_GPL(relayfs_create_dir); 611EXPORT_SYMBOL_GPL(relayfs_create_dir);
601EXPORT_SYMBOL_GPL(relayfs_remove_dir); 612EXPORT_SYMBOL_GPL(relayfs_remove_dir);
602EXPORT_SYMBOL_GPL(relayfs_create_file); 613EXPORT_SYMBOL_GPL(relayfs_create_file);
614EXPORT_SYMBOL_GPL(relayfs_remove_file);
603 615
604MODULE_AUTHOR("Tom Zanussi <zanussi@us.ibm.com> and Karim Yaghmour <karim@opersys.com>"); 616MODULE_AUTHOR("Tom Zanussi <zanussi@us.ibm.com> and Karim Yaghmour <karim@opersys.com>");
605MODULE_DESCRIPTION("Relay Filesystem"); 617MODULE_DESCRIPTION("Relay Filesystem");