patch-2.4.22 linux-2.4.22/fs/reiserfs/item_ops.c
Next file: linux-2.4.22/fs/reiserfs/journal.c
Previous file: linux-2.4.22/fs/reiserfs/ioctl.c
Back to the patch index
Back to the overall index
- Lines: 130
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/reiserfs/item_ops.c
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.21/fs/reiserfs/item_ops.c linux-2.4.22/fs/reiserfs/item_ops.c
@@ -106,7 +106,7 @@
static void sd_print_vi (struct virtual_item * vi)
{
- reiserfs_warning ("STATDATA, index %d, type 0x%x, %h\n",
+ reiserfs_warning (NULL, "STATDATA, index %d, type 0x%x, %h\n",
vi->vi_index, vi->vi_type, vi->vi_ih);
}
@@ -209,7 +209,7 @@
static void direct_print_vi (struct virtual_item * vi)
{
- reiserfs_warning ("DIRECT, index %d, type 0x%x, %h\n",
+ reiserfs_warning (NULL, "DIRECT, index %d, type 0x%x, %h\n",
vi->vi_index, vi->vi_type, vi->vi_ih);
}
@@ -363,7 +363,7 @@
static void indirect_print_vi (struct virtual_item * vi)
{
- reiserfs_warning ("INDIRECT, index %d, type 0x%x, %h\n",
+ reiserfs_warning (NULL, "INDIRECT, index %d, type 0x%x, %h\n",
vi->vi_index, vi->vi_type, vi->vi_ih);
}
@@ -390,7 +390,7 @@
static int direntry_bytes_number (struct item_head * ih, int block_size)
{
- reiserfs_warning ("vs-16090: direntry_bytes_number: "
+ reiserfs_warning (NULL, "vs-16090: direntry_bytes_number: "
"bytes number is asked for direntry");
return 0;
}
@@ -653,7 +653,7 @@
int i;
struct direntry_uarea * dir_u = vi->vi_uarea;
- 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\n",
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 ++)
@@ -682,32 +682,32 @@
//
static int errcatch_bytes_number (struct item_head * ih, int block_size)
{
- reiserfs_warning ("green-16001: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16001: Invalid item type observed, run fsck ASAP\n");
return 0;
}
static void errcatch_decrement_key (struct cpu_key * key)
{
- reiserfs_warning ("green-16002: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16002: Invalid item type observed, run fsck ASAP\n");
}
static int errcatch_is_left_mergeable (struct key * key, unsigned long bsize)
{
- reiserfs_warning ("green-16003: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16003: Invalid item type observed, run fsck ASAP\n");
return 0;
}
static void errcatch_print_item (struct item_head * ih, char * item)
{
- reiserfs_warning ("green-16004: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16004: Invalid item type observed, run fsck ASAP\n");
}
static void errcatch_check_item (struct item_head * ih, char * item)
{
- reiserfs_warning ("green-16005: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16005: Invalid item type observed, run fsck ASAP\n");
}
static int errcatch_create_vi (struct virtual_node * vn,
@@ -715,7 +715,7 @@
int is_affected,
int insert_size)
{
- reiserfs_warning ("green-16006: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16006: Invalid item type observed, run fsck ASAP\n");
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.
}
@@ -723,32 +723,32 @@
static int errcatch_check_left (struct virtual_item * vi, int free,
int start_skip, int end_skip)
{
- reiserfs_warning ("green-16007: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16007: Invalid item type observed, run fsck ASAP\n");
return -1;
}
static int errcatch_check_right (struct virtual_item * vi, int free)
{
- reiserfs_warning ("green-16008: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16008: Invalid item type observed, run fsck ASAP\n");
return -1;
}
static int errcatch_part_size (struct virtual_item * vi, int first, int count)
{
- reiserfs_warning ("green-16009: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16009: Invalid item type observed, run fsck ASAP\n");
return 0;
}
static int errcatch_unit_num (struct virtual_item * vi)
{
- reiserfs_warning ("green-16010: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16010: Invalid item type observed, run fsck ASAP\n");
return 0;
}
static void errcatch_print_vi (struct virtual_item * vi)
{
- reiserfs_warning ("green-16011: Invalid item type observed, run fsck ASAP\n");
+ reiserfs_warning (NULL, "green-16011: Invalid item type observed, run fsck ASAP\n");
}
struct item_operations errcatch_ops = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)