Skip to contentSkip to conversation

fsdata.h cleanup

PATCH Dushan Tcholich 1 participant 1 message Oct 24, 2007

lore
Share & tools
lore
#0 lore raw

orig: total: 2 errors, 3 warnings, 205 lines checked
patched:total: 0 errors, 2 warnings, 205 lines checked

2 warnings are typedefs

WARNING: do not add new typedefs
#95: FILE: fsdata.h:95:
+typedef struct reiser4_file_fsdata {

WARNING: do not add new typedefs
#143: FILE: fsdata.h:143:
+typedef struct dir_cursor dir_cursor;

fsdata.h renamed from fsdata.h.orig +3 -3
@@ -1,7 +1,7 @@
 /* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
  * reiser4/README */
 
-#if !defined( __REISER4_FSDATA_H__ )
+#if !defined(__REISER4_FSDATA_H__)
 #define __REISER4_FSDATA_H__
 
 #include "debug.h"
@@ -78,8 +78,8 @@ struct reiser4_dentry_fsdata {
 	 * stat-data.
 	 */
 	struct de_location dec;
-	int stateless;		/* created through reiser4_decode_fh, needs special
-				 * treatment in readdir. */
+	int stateless;		/* created through reiser4_decode_fh, needs
+				 * special treatment in readdir. */
 };
 
 extern int reiser4_init_dentry_fsdata(void);