[patch 38/38] CKRM e18: Delete target file from tc_magic.c

Gerrit Huizenga
2005-06-23T07:35:26Z

[-- Attachment #1: target_fileops_fix --]
[-- Type: text/plain, Size: 1384 bytes --]

Patch to delete target file from tc_magic.c.

Signed-Off-By: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-Off-By: Gerrit Huizenga <gh@us.ibm.com>

Index: linux-2.6.12-ckrm2/fs/rcfs/tc_magic.c
===================================================================
--- linux-2.6.12-ckrm2.orig/fs/rcfs/tc_magic.c 2005-06-20 16:45:27.000000000 -0700
+++ linux-2.6.12-ckrm2/fs/rcfs/tc_magic.c 2005-06-21 16:52:26.000000000 -0700
@@ -44,12 +44,6 @@ struct rcfs_magf tc_rootdesc[] = {
},
/* Rest are root's magic files */
{
- .name = "target",
- .mode = TC_FILE_MODE,
- .i_fop = &target_fileops,
- .i_op = &rcfs_file_inode_operations,
- },
- {
.name = "members",
.mode = TC_FILE_MODE,
.i_fop = &members_fileops,
Index: linux-2.6.12-ckrm2/include/linux/rcfs.h
===================================================================
--- linux-2.6.12-ckrm2.orig/include/linux/rcfs.h 2005-06-20 16:45:27.000000000 -0700
+++ linux-2.6.12-ckrm2/include/linux/rcfs.h 2005-06-21 16:52:26.000000000 -0700
@@ -73,7 +73,6 @@ extern struct inode_operations rcfs_dir_
extern struct inode_operations rcfs_rootdir_inode_operations;
extern struct inode_operations rcfs_file_inode_operations;

-extern struct file_operations target_fileops;
extern struct file_operations shares_fileops;
extern struct file_operations stats_fileops;
extern struct file_operations config_fileops;

--