remove oin's needs_flush_list
PATCH 1/1 remove oin's needs_flush_list
The following is a very simple patch to remove the needs_flush_list list_head and in_needs_flush_list boolean members of ocfs_inode.
This is dead code.
--rusty
oin.c +0 -4
@@ -753,10 +753,6 @@ } lockResource->oin =NULL ; -if (oin->in_needs_flush_list) { -list_del (& (oin->needs_flush_list)); - oin->in_needs_flush_list = false; - }if (lockResource->in_cache_list) {list_del (& (lockResource->cache_list)); lockResource->in_cache_list = false;
inc/ocfs.h +0 -2
@@ -1838,7 +1838,6 @@ocfs_obj_id obj_id;struct inode *inode;struct _ocfs_super *osb;/* ocfs_inode belongs to this volume */ -struct list_head needs_flush_list;struct list_head recovery_list;ocfs_sem main_res;struct semaphore extend_sem;
@@ -1853,7 +1852,6 @@__u32 oin_flags;bool needs_verification;bool cache_enabled; -bool in_needs_flush_list;bool journal_inode;/* is this the journal oin? */ };
Quoted 2 lines · Rusty Lynch
The following is a very simple patch to remove the
needs_flush_listlist_headandin_needs_flush_listboolean members ofocfs_inode.
Excellent, committed.
--Mark
--
Mark Fasheh
Software Developer, Oracle Corp
[email protected]