Skip to contentSkip to conversation

super.h cleanup

PATCH Dushan Tcholich 1 participant 1 message Oct 25, 2007

lore
Share & tools
lore
#0 lore raw

orig: total: 7 errors, 2 warnings, 464 lines checked
patched:total: 0 errors, 1 warnings, 464 lines checked leftover:

WARNING: do not add new typedefs
#26: FILE: super.h:26:
+typedef enum {

super.h renamed from super.h.orig +5 -5
@@ -3,7 +3,7 @@
 
 /* Super-block functions. See super.c for details. */
 
-#if !defined( __REISER4_SUPER_H__ )
+#if !defined(__REISER4_SUPER_H__)
 #define __REISER4_SUPER_H__
 
 #include "tree.h"
@@ -297,11 +297,11 @@ struct reiser4_super_info_data {
 };
 
 extern reiser4_super_info_data *get_super_private_nocheck(const struct
-							  super_block *super);
+							  super_block * super);
 
 /* Return reiser4-specific part of super block */
 static inline reiser4_super_info_data *get_super_private(const struct
-							 super_block *super)
+							 super_block * super)
 {
 	assert("nikita-447", super != NULL);
 
@@ -368,7 +368,7 @@ static inline int rofs_jnode(jnode * nod
 
 extern __u64 reiser4_current_block_count(void);
 
-extern void build_object_ops(struct super_block *super, struct object_ops * ops);
+extern void build_object_ops(struct super_block *super, struct object_ops *ops);
 
 #define REISER4_SUPER_MAGIC 0x52345362	/* (*(__u32 *)"R4Sb"); */
 
@@ -431,7 +431,7 @@ extern reiser4_plugin *get_default_plugi
 /* Maximal possible object id. */
 #define  ABSOLUTE_MAX_OID ((oid_t)~0)
 
-#define OIDS_RESERVED  ( 1 << 16 )
+#define OIDS_RESERVED  (1 << 16)
 int oid_init_allocator(struct super_block *, oid_t nr_files, oid_t next);
 oid_t oid_allocate(struct super_block *);
 int oid_release(struct super_block *, oid_t);