- reiserfs_warning ("STATDATA, index %d, type 0x%x, %h\n",
+ reiserfs_warning (NULL, "STATDATA, index %d, type 0x%x, %h",
- reiserfs_warning ("DIRECT, index %d, type 0x%x, %h\n",
+ reiserfs_warning (NULL, "DIRECT, index %d, type 0x%x, %h",
printk ("%d pointers\n[ ", (int)I_UNFM_NUM (ih));
for (j = 0; j < I_UNFM_NUM (ih); j ++) {
printk ("%d pointers\n[ ", (int)I_UNFM_NUM (ih));
for (j = 0; j < I_UNFM_NUM (ih); j ++) {
- reiserfs_warning ("INDIRECT, index %d, type 0x%x, %h\n",
+ reiserfs_warning (NULL, "INDIRECT, index %d, type 0x%x, %h",
if (l + IH_SIZE != vi->vi_item_len +
((is_affected && (vn->vn_mode == M_PASTE || vn->vn_mode == M_CUT)) ? insert_size : 0) ) {
if (l + IH_SIZE != vi->vi_item_len +
((is_affected && (vn->vn_mode == M_PASTE || vn->vn_mode == M_CUT)) ? insert_size : 0) ) {
- reiserfs_panic (0, "vs-8025: set_entry_sizes: (mode==%c, insert_size==%d), invalid length of directory item",
+ reiserfs_panic (NULL, "vs-8025: set_entry_sizes: (mode==%c, insert_size==%d), invalid length of directory item",
- printk ("free spze %d, entry_count %d\n", free, dir_u->entry_count);
- BUG ();
+ reiserfs_panic (NULL, "free space %d, entry_count %d\n", free, dir_u->entry_count);
- reiserfs_warning ("DIRENTRY, index %d, type 0x%x, %h, flags 0x%x\n",
+ reiserfs_warning (NULL, "DIRENTRY, index %d, type 0x%x, %h, flags 0x%x",
vi->vi_index, vi->vi_type, vi->vi_ih, dir_u->flags);
printk ("%d entries: ", dir_u->entry_count);
for (i = 0; i < dir_u->entry_count; i ++)
vi->vi_index, vi->vi_type, vi->vi_ih, dir_u->flags);
printk ("%d entries: ", dir_u->entry_count);
for (i = 0; i < dir_u->entry_count; i ++)
return 0; // We might return -1 here as well, but it won't help as create_virtual_node() from where
// this operation is called from is of return type void.
}
return 0; // We might return -1 here as well, but it won't help as create_virtual_node() from where
// this operation is called from is of return type void.
}
static int errcatch_check_left (struct virtual_item * vi, int free,
int start_skip, int end_skip)
{
static int errcatch_check_left (struct virtual_item * vi, int free,
int start_skip, int end_skip)
{