1 parent
45964148f5
commit
863ef57982
4 files changed
+3
-68
No files matched your search
@@ -2283,29 +2283,6 @@ static int get_neighbors(struct tree_balance *p_s_tb, int n_h)
|
||||
return CARRY_ON;
|
||||
}
|
||||
|
||||
#if 0
|
||||
void * reiserfs_kmalloc (size_t size, int flags, struct super_block * s)
|
||||
{
|
||||
void * vp;
|
||||
|
||||
vp = getmem (size);
|
||||
return vp;
|
||||
}
|
||||
|
||||
void reiserfs_kfree (/*const */void * vp, size_t size, struct super_block * s)
|
||||
{
|
||||
freemem (vp);
|
||||
|
||||
kfree (vp);
|
||||
|
||||
s->u.reiserfs_sb.s_kmallocs -= size;
|
||||
if (s->u.reiserfs_sb.s_kmallocs < 0)
|
||||
reiserfs_warning("vs-8302: reiserfs_kfree: allocated memory %d\n",
|
||||
s->u.reiserfs_sb.s_kmallocs);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static int get_mem_for_virtual_node(struct tree_balance *tb)
|
||||
{
|
||||
tb->vn_buf = getmem(tb->tb_fs->fs_blocksize);
|
||||
|
||||
@@ -1151,11 +1151,6 @@ void copy_short_key(void *to, void *from)
|
||||
memcpy(to, from, SHORT_KEY_SIZE);
|
||||
}
|
||||
|
||||
void copy_item_head(void *p_v_to, void *p_v_from)
|
||||
{
|
||||
memcpy(p_v_to, p_v_from, IH_SIZE);
|
||||
}
|
||||
|
||||
/* inserts new or old stat data of a directory (unreachable, nlinks == 0) */
|
||||
int create_dir_sd(reiserfs_filsys_t *fs,
|
||||
struct reiserfs_path *path, struct reiserfs_key *key,
|
||||
|
||||
Reference in new issue
Block a user