diff options
Diffstat (limited to 'fs/relayfs')
-rw-r--r-- | fs/relayfs/inode.c | 12 |
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 | */ | ||
233 | int 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); | |||
600 | EXPORT_SYMBOL_GPL(relayfs_create_dir); | 611 | EXPORT_SYMBOL_GPL(relayfs_create_dir); |
601 | EXPORT_SYMBOL_GPL(relayfs_remove_dir); | 612 | EXPORT_SYMBOL_GPL(relayfs_remove_dir); |
602 | EXPORT_SYMBOL_GPL(relayfs_create_file); | 613 | EXPORT_SYMBOL_GPL(relayfs_create_file); |
614 | EXPORT_SYMBOL_GPL(relayfs_remove_file); | ||
603 | 615 | ||
604 | MODULE_AUTHOR("Tom Zanussi <zanussi@us.ibm.com> and Karim Yaghmour <karim@opersys.com>"); | 616 | MODULE_AUTHOR("Tom Zanussi <zanussi@us.ibm.com> and Karim Yaghmour <karim@opersys.com>"); |
605 | MODULE_DESCRIPTION("Relay Filesystem"); | 617 | MODULE_DESCRIPTION("Relay Filesystem"); |