[PATCH] relayfs: add relayfs_remove_file()
This patch adds and exports relayfs_remove_file(), for API symmetry (with relayfs_create_file()). Signed-off-by: Tom Zanussi <zanussi@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
907f2c77d1
commit
7431733791
2 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue