Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16936
b: refs/heads/master
c: 7431733
h: refs/heads/master
v: v3
  • Loading branch information
Tom Zanussi authored and Linus Torvalds committed Jan 9, 2006
1 parent ed5ee83 commit fa3da1d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 907f2c77d1653ce235e8e1fd6ce5c46005814e78
refs/heads/master: 7431733791feb0b19453d8047b0723c744667040
12 changes: 12 additions & 0 deletions trunk/fs/relayfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,17 @@ int relayfs_remove(struct dentry *dentry)
return error;
}

/**
* relayfs_remove_file - remove a file from relay filesystem
* @dentry: directory dentry
*
* Returns 0 if successful, negative otherwise.
*/
int relayfs_remove_file(struct dentry *dentry)
{
return relayfs_remove(dentry);
}

/**
* relayfs_remove_dir - remove a directory in the relay filesystem
* @dentry: directory dentry
Expand Down Expand Up @@ -600,6 +611,7 @@ EXPORT_SYMBOL_GPL(relayfs_file_operations);
EXPORT_SYMBOL_GPL(relayfs_create_dir);
EXPORT_SYMBOL_GPL(relayfs_remove_dir);
EXPORT_SYMBOL_GPL(relayfs_create_file);
EXPORT_SYMBOL_GPL(relayfs_remove_file);

MODULE_AUTHOR("Tom Zanussi <zanussi@us.ibm.com> and Karim Yaghmour <karim@opersys.com>");
MODULE_DESCRIPTION("Relay Filesystem");
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/relayfs_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ extern struct dentry *relayfs_create_file(const char *name,
int mode,
struct file_operations *fops,
void *data);
extern int relayfs_remove_file(struct dentry *dentry);

/**
* relay_write - write data into the channel
Expand Down

0 comments on commit fa3da1d

Please sign in to comment.