git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
rcfs
/
socket_fs.c
diff --git
a/fs/rcfs/socket_fs.c
b/fs/rcfs/socket_fs.c
index
89495dd
..
f1c0899
100644
(file)
--- a/
fs/rcfs/socket_fs.c
+++ b/
fs/rcfs/socket_fs.c
@@
-49,7
+49,7
@@
int sock_mknod_noperm(struct inode *, struct dentry *, int, dev_t);
void sock_set_directory(void);
extern struct file_operations config_fileops,
void sock_set_directory(void);
extern struct file_operations config_fileops,
- members_fileops, shares_fileops, stats_fileops;
+ members_fileops, shares_fileops, stats_fileops
, target_fileops
;
struct inode_operations my_iops = {
.create = rcfs_create,
struct inode_operations my_iops = {
.create = rcfs_create,
@@
-107,6
+107,12
@@
struct rcfs_magf sock_rootdesc[] = {
.i_op = &my_iops,
.i_fop = &members_fileops,
},
.i_op = &my_iops,
.i_fop = &members_fileops,
},
+ {
+ .name = "target",
+ .mode = RCFS_DEFAULT_FILE_MODE,
+ .i_op = &my_iops,
+ .i_fop = &target_fileops,
+ },
{
.name = "reclassify",
.mode = RCFS_DEFAULT_FILE_MODE,
{
.name = "reclassify",
.mode = RCFS_DEFAULT_FILE_MODE,
@@
-140,6
+146,12
@@
struct rcfs_magf sock_magf[] = {
.i_op = &my_iops,
.i_fop = &stats_fileops,
},
.i_op = &my_iops,
.i_fop = &stats_fileops,
},
+ {
+ .name = "target",
+ .mode = RCFS_DEFAULT_FILE_MODE,
+ .i_op = &my_iops,
+ .i_fop = &target_fileops,
+ },
};
struct rcfs_magf sub_magf[] = {
};
struct rcfs_magf sub_magf[] = {