X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Frcfs%2Fsocket_fs.c;h=f1c0899218bb6cba7b3e839366dac7dc2d8b1058;hb=3f5a17d40f109b370e21e7451cf05b23cf578698;hp=89495dd599b4677f0352c62492d7b2aaf11b0c70;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/fs/rcfs/socket_fs.c b/fs/rcfs/socket_fs.c index 89495dd59..f1c089921 100644 --- 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, - members_fileops, shares_fileops, stats_fileops; + members_fileops, shares_fileops, stats_fileops, target_fileops; 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, }, + { + .name = "target", + .mode = RCFS_DEFAULT_FILE_MODE, + .i_op = &my_iops, + .i_fop = &target_fileops, + }, { .name = "reclassify", .mode = RCFS_DEFAULT_FILE_MODE, @@ -140,6 +146,12 @@ struct rcfs_magf sock_magf[] = { .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[] = {