Skip to contentSkip to conversation

removing oin from ocfs_file

PATCH In review Rusty Lynch 2 participants 2 messages Feb 17, 2004 OCFS2

lore
Share & tools
lore
#0 lore raw

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
Index: src/inc/ocfs.h
===================================================================
@@ -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
Index: TODO
===================================================================
@@ -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
#1 lore raw
Quoted 5 lines · Rusty Lynch

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.

Looks good. I'll commit this tonight.

	--Mark

--
Mark Fasheh
Software Developer, Oracle Corp
[email protected]