aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Zanussi <zanussi@us.ibm.com>2006-01-08 04:02:25 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 23:13:49 -0500
commit7431733791feb0b19453d8047b0723c744667040 (patch)
tree9521c656ba72bac4de8e29a8f1c22881c3b3d1ad /include
parent907f2c77d1653ce235e8e1fd6ce5c46005814e78 (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/relayfs_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/relayfs_fs.h b/include/linux/relayfs_fs.h
index a122df2d9880..921540b1cdf8 100644
--- a/include/linux/relayfs_fs.h
+++ b/include/linux/relayfs_fs.h
@@ -153,6 +153,7 @@ extern struct dentry *relayfs_create_file(const char *name,
153 int mode, 153 int mode,
154 struct file_operations *fops, 154 struct file_operations *fops,
155 void *data); 155 void *data);
156extern int relayfs_remove_file(struct dentry *dentry);
156 157
157/** 158/**
158 * relay_write - write data into the channel 159 * relay_write - write data into the channel