Resend of failed patches
Signed-off-by Dushan Tcholich <[email protected]>
carry_ops.h renamed from carry_ops.h.orig +4 -3
@@ -1,8 +1,9 @@ -/* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4/README */ +/* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by +reiser4/README */ /* implementation of carry operations. See carry_ops.c for details. */ -#if !defined( __CARRY_OPS_H__ ) +#if !defined(__CARRY_OPS_H__)#define __CARRY_OPS_H__#include "forward.h"
@@ -22,7 +23,7 @@ typedef struct carry_op_handler {thing. */ extern carry_op_handler op_dispatch_table[COP_LAST_OP ]; -unsigned int space_needed (const znode * node,const coord_t * coord, +unsigned int space_needed (const znode * node,const coord_t *coord,const reiser4_item_data * data,int inserting);extern carry_node *find_left_carry (carry_node * node,carry_level * level);extern carry_node *find_right_carry (carry_node * node,carry_level * level);
Signed-off-by Dushan Tcholich <[email protected]>
context.c renamed from context.c.orig +4 -3
@@ -70,7 +70,7 @@ static void _reiser4_init_context(reiserThis function should be called at the beginning of reiser4 part of syscall. */ -reiser4_context *reiser4_init_context (struct super_block * super) +reiser4_context *reiser4_init_context (struct super_block *super) {reiser4_context *context;
@@ -165,7 +165,8 @@ static void balance_dirty_pages_at(reisethread released all locks and closed transcrash etc. */ -static void reiser4_done_context (reiser4_context * context/* context being released */ ) +static void reiser4_done_context (reiser4_context * context) +/* context being released */ {assert ("nikita-860" , context !=NULL );assert ("nikita-859" , context->magic == context_magic);
@@ -266,7 +267,7 @@ void reiser4_ctx_gfp_mask_set(void) ctx->gfp_mask =GFP_NOFS ; } -void reiser4_ctx_gfp_mask_force (gfp_t mask) +void reiser4_ctx_gfp_mask_force (gfp_t mask) {reiser4_context *ctx; ctx =get_current_context ();
Signed-off-by Dushan Tcholich <[email protected]>
coord.h renamed from coord.h.orig +125 -115
377 lines not on this page · raw message
Signed-off-by Dushan Tcholich <[email protected]>
debug.c renamed from debug.c.orig +1 -1
@@ -60,7 +60,7 @@ static DEFINE_SPINLOCK(panic_guard);/* Your best friend. Call it on each occasion. This is called by fs/reiser4/debug.h:reiser4_panic(). */ -void reiser4_do_panic (const char *format/* format string */ , .../* rest */ ) +void reiser4_do_panic (const char *format/* format string */ , .../* rest */ ) {static int in_panic =0 ;va_list args;
Signed-off-by Dushan Tcholich <[email protected]>
debug.h renamed from debug.h.orig +38 -37
135 lines not on this page · raw message
Signed-off-by Dushan Tcholich <[email protected]>
dformat.h renamed from dformat.h.orig +4 -3
@@ -1,4 +1,5 @@ -/* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by reiser4/README */ +/* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by +reiser4/README */ /* Formats of on-disk data and conversion functions. */
@@ -10,7 +11,7 @@To declare fields of on-disk structures, use d8, d16, d32 and d64. d??tocpu() and cputod??() to convert. */ -#if !defined( __FS_REISER4_DFORMAT_H__ ) +#if !defined(__FS_REISER4_DFORMAT_H__)#define __FS_REISER4_DFORMAT_H__#include <asm/byteorder.h>
@@ -37,7 +38,7 @@ typedef __le64 reiser4_dblock_nr;* * Returns true if if disk addresses are the same */ -static inline int disk_addr_eq (const reiser4_block_nr *b1, +static inline int disk_addr_eq (const reiser4_block_nr * b1,const reiser4_block_nr * b2) {assert ("nikita-1033" , b1 !=NULL );