Skip to contentSkip to conversation

plugin.c cleanup

PATCH Dushan Tcholich 1 participant 1 message Oct 26, 2007

lore
Share & tools
lore
#0 lore raw

orig: total: 3 errors, 2 warnings, 559 lines checked
patched:Your patch has no obvious style problems and is ready for submission.

plugin.c renamed from plugin.c.orig +6 -5
@@ -189,7 +189,8 @@ int init_plugins(void)
 		assert("nikita-3509", ptype->type_id == type_id);
 
 		INIT_LIST_HEAD(&ptype->plugins_list);
-/* NIKITA-FIXME-HANS: change builtin_num to some other name lacking the term builtin. */
+/* NIKITA-FIXME-HANS: change builtin_num to some other name lacking the term
+ * builtin. */
 		for (i = 0; i < ptype->builtin_num; ++i) {
 			reiser4_plugin *plugin;
 
@@ -266,7 +267,7 @@ reiser4_plugin *plugin_by_unsafe_id(reis
  * Puts id of @plugin in little endian format to address @area.
  */
 int save_plugin_id(reiser4_plugin *plugin /* plugin to convert */ ,
-		   d16 *area /* where to store result */ )
+		   d16 * area/* where to store result */)
 {
 	assert("nikita-1261", plugin != NULL);
 	assert("nikita-1262", area != NULL);
@@ -326,8 +327,7 @@ int grab_plugin_pset(struct inode *self,
 		parent = reiser4_inode_data(ancestor);
 		plug = aset_get(parent->hset, memb) ? :
 			aset_get(parent->pset, memb);
-	}
-	else
+	} else
 		plug = get_default_plugin(memb);
 
 	result = set_plugin(&info->pset, memb, plug);
@@ -374,7 +374,8 @@ int finish_pset(struct inode *inode)
 	return result;
 }
 
-int force_plugin_pset(struct inode *self, pset_member memb, reiser4_plugin * plug)
+int force_plugin_pset(struct inode *self, pset_member memb,
+		      reiser4_plugin * plug)
 {
 	reiser4_inode *info;
 	int result = 0;