status_flags.h cleanup
orig: total: 3 errors, 3 warnings, 43 lines checked
patched:Your patch has no obvious style problems and is ready for submission.
Signed-off-by Dushan Tcholich <[email protected]>
status_flags.h renamed from status_flags.h.orig +9 -5
@@ -5,7 +5,7 @@The status that helps us to find out if the filesystem is valid or if it contains some critical, or not so critical errors */ -#if !defined( __REISER4_STATUS_FLAGS_H__ ) +#if !defined(__REISER4_STATUS_FLAGS_H__)#define __REISER4_STATUS_FLAGS_H__#include "dformat.h"
@@ -29,14 +29,18 @@struct reiser4_status {char magic[16 ];d64 status;/* Current FS state */ -d64 extended_status;/* Any additional info that might have sense in addition to "status". E.g. -last sector where io error happened if status is "io error encountered" */ +d64 extended_status;/* Any additional info that might have sense in +* addition to "status". E.g. last sector where +* io error happened if status is +* "io error encountered" */ d64 stacktrace[10 ];/* Last ten functional calls made (addresses) */ -char texterror[REISER4_TEXTERROR_LEN ];/* Any error message if appropriate, otherwise filled with zeroes */ +char texterror[REISER4_TEXTERROR_LEN ];/* Any error message if +* appropriate, otherwise filled +* with zeroes */ };int reiser4_status_init (reiser4_block_nr block); -int reiser4_status_query (u64 * status,u64 * extended); +int reiser4_status_query (u64 *status,u64 *extended);int reiser4_status_write (u64 status,u64 extended_status,char *message);int reiser4_status_finish (void );