'cfs_hlist_empty', 'hlist_empty',
'cfs_hlist_entry', 'hlist_entry',
'cfs_hlist_for_each', 'hlist_for_each',
- 'cfs_hlist_for_each_entry', 'hlist_for_each_entry',
- 'cfs_hlist_for_each_entry_continue',
- 'hlist_for_each_entry_continue',
- 'cfs_hlist_for_each_entry_from',
- 'hlist_for_each_entry_from',
- 'cfs_hlist_for_each_entry_safe',
- 'hlist_for_each_entry_safe',
'cfs_hlist_for_each_safe', 'hlist_for_each_safe',
'cfs_hlist_head_t', 'struct hlist_head',
'cfs_hlist_node_t', 'struct hlist_node',
'cfs_inode_t', 'struct inode',
'CFS_INIT_LIST_HEAD', 'INIT_LIST_HEAD',
- 'CFS_LIST_HEAD', 'LIST_HEAD',
+ 'CFS_LIST_HEAD', 'struct list_head foo = LIST_HEAD_INIT(foo);',
'CFS_LIST_HEAD_INIT', 'LIST_HEAD_INIT',
'cfs_list_add', 'list_add',
'cfs_list_add_tail', 'list_add_tail',
'cfs_rcu_head_t', 'struct rcu_head',
+ 'LPROCFS', 'CONFIG_PROC_FS',
'alloca', 'malloc',
'mktemp', 'mkstemp',
'sprintf', 'snprintf',
}
}
-# check we are in a valid source file C or perl if not then ignore this hunk
- next if ($realfile !~ /\.(h|c|pl)$/);
+# check we are in a valid source file C, perl or bash script
+# if not then ignore this hunk
+ next if ($realfile !~ /\.(h|c|pl|sh)$/);
# at the beginning of a line any tabs must come first and anything
# more than 8 must use tabs.