[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Tom Zanussi 2006-01-08 01:02:25 -08:00 • committed by Linus Torvalds
commit 7431733791
2 changed files with 13 additions and 0 deletions

View file

@ -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