removing oin from ocfs_file
PATCH 1/1 removing oin from ocfs_file
Here is a very small patch to svn version 31 that removes the unused oin pointer in the ocfs_file structure (as called for in the TODO list.)
Verified that the field really isn't being used anywhere.
--rusty
inc/ocfs.h +0 -1
@@ -1782,7 +1782,6 @@ typedef struct _ocfs_file { ocfs_obj_id obj_id; - struct _ocfs_inode *oin; /* ptr to the assoc. ocfs_inode */ __u64 curr_byte_off; __s64 curr_dir_off; struct buffer_head **curr_dir_buf;
TODO +0 -2
@@ -25,8 +25,6 @@ * finish mkfs to really create a filesystem. -* take the oin field off the ofile structure. - * System files should be locked with cache lock, and we need inodes for them so that we can cache our reads to them. This can also count for the main bitmap. Data writes to the bitmap files can be
Quoted 5 lines · Rusty Lynch
Here is a very small patch to svn version 31 that removes the unused oin pointer in the
ocfs_filestructure (as called for in the TODO list.)Verified that the field really isn't being used anywhere.
Looks good. I'll commit this tonight.
--Mark
--
Mark Fasheh
Software Developer, Oracle Corp
[email protected]