1 parent
45964148f5
commit
863ef57982
4 files changed
+3
-68
No files matched your search
+1
-37
@@ -34,12 +34,6 @@
|
||||
|
||||
typedef unsigned int blocknr_t;
|
||||
|
||||
#ifndef NO_EXTERN_INLINE
|
||||
# define extern_inline extern inline
|
||||
#else
|
||||
# define extern_inline
|
||||
#endif
|
||||
|
||||
#ifndef get_unaligned
|
||||
#define get_unaligned(ptr) \
|
||||
({ \
|
||||
@@ -668,29 +662,6 @@ void set_ih_key_format(struct item_head *ih, __u16 val);
|
||||
#define IH_Checked 2
|
||||
#define IH_Writable 3
|
||||
|
||||
/* Bad item flag is set temporary by recover_leaf */
|
||||
/*
|
||||
extern_inline __u16 mark_ih_bad( struct item_head *ih )
|
||||
{
|
||||
set_ih_flags(ih, get_ih_flags(ih) | IH_Bad );
|
||||
return get_ih_flags(ih);
|
||||
}
|
||||
|
||||
extern_inline __u16 ih_bad( struct item_head *ih )
|
||||
{
|
||||
__u16 tmp = get_ih_flags(ih);
|
||||
return test_bit(IH_Bad, &tmp );
|
||||
}
|
||||
|
||||
extern_inline __u16 unmark_item_bad( struct item_head *ih )
|
||||
{
|
||||
__u16 tmp = get_ih_flags(ih);
|
||||
clear_bit( IH_Bad, &tmp );
|
||||
set_ih_flags( ih, tmp );
|
||||
return tmp;
|
||||
}
|
||||
*/
|
||||
|
||||
/* Unreachable bit is set on tree rebuilding and is cleared in semantic pass */
|
||||
#define clean_ih_flags(ih) set_ih_flags (ih, 0)
|
||||
|
||||
@@ -1141,11 +1112,6 @@ struct reiserfs_path var = {ILLEGAL_PATH_ELEMENT_OFFSET, }
|
||||
#define REGULAR_FILE_FOUND 14
|
||||
#define DIRECTORY_FOUND 15
|
||||
|
||||
struct unfm_nodeinfo {
|
||||
__u32 unfm_nodenum;
|
||||
__u16 unfm_freespace;
|
||||
};
|
||||
|
||||
/* Size of pointer to the unformatted node. */
|
||||
#define UNFM_P_SIZE (sizeof(__u32))
|
||||
|
||||
@@ -1452,9 +1418,7 @@ int are_items_mergeable (struct item_head * left, struct item_head * right, int
|
||||
|
||||
|
||||
/* fix_nodes.c */
|
||||
void *reiserfs_kmalloc (size_t size, int flags, reiserfs_filsys_t * s);
|
||||
void reiserfs_kfree (/*const*/ void * vp, size_t size, reiserfs_filsys_t * s);
|
||||
int fix_nodes (/*struct reiserfs_transaction_handle *th,*/ int n_op_mode, struct tree_balance * p_s_tb,
|
||||
int fix_nodes (/*struct reiserfs_transaction_handle *th,*/ int n_op_mode, struct tree_balance * p_s_tb,
|
||||
/*int n_pos_in_item,*/ struct item_head * p_s_ins_ih);
|
||||
void unfix_nodes (/*struct reiserfs_transaction_handle *th,*/ struct tree_balance *);
|
||||
void free_buffers_in_tb (struct tree_balance * p_s_tb);
|
||||
|
||||
@@ -132,9 +132,8 @@ int reiserfs_search_by_entry_key(reiserfs_filsys_t *, struct reiserfs_key *key,
|
||||
int usearch_by_position(reiserfs_filsys_t *, struct reiserfs_key *key,
|
||||
int version, struct reiserfs_path *path);
|
||||
struct reiserfs_key *reiserfs_next_key(struct reiserfs_path *path);
|
||||
void copy_key(void *to, void *from);
|
||||
void copy_short_key(void *to, void *from);
|
||||
void copy_item_head(void *p_v_to, void *p_v_from);
|
||||
void copy_key(void *to, const void *from);
|
||||
void copy_short_key(void *to, const void *from);
|
||||
int comp_keys(const void *k1, const void *k2);
|
||||
int comp_keys_3(const void *k1, const void *k2);
|
||||
int comp_short_keys(const void *p_s_key1, const void *p_s_key2);
|
||||
|
||||
Reference in new issue
Block a user