@@ -17,7 +17,7 @@ static loff_t get_pos(struct dnode *d, struct hpfs_dirent *fde)
1717 if (de == fde ) return ((loff_t ) le32_to_cpu (d -> self ) << 4 ) | (loff_t )i ;
1818 i ++ ;
1919 }
20- pr_info ("HPFS: get_pos: not_found\n" );
20+ pr_info ("get_pos: not_found\n" );
2121 return ((loff_t )le32_to_cpu (d -> self ) << 4 ) | (loff_t )1 ;
2222}
2323
@@ -32,7 +32,7 @@ void hpfs_add_pos(struct inode *inode, loff_t *pos)
3232 if (hpfs_inode -> i_rddir_off [i ] == pos ) return ;
3333 if (!(i & 0x0f )) {
3434 if (!(ppos = kmalloc ((i + 0x11 ) * sizeof (loff_t * ), GFP_NOFS ))) {
35- pr_warn ("HPFS: out of memory for position list\n" );
35+ pr_warn ("out of memory for position list\n" );
3636 return ;
3737 }
3838 if (hpfs_inode -> i_rddir_off ) {
@@ -63,7 +63,7 @@ void hpfs_del_pos(struct inode *inode, loff_t *pos)
6363 }
6464 return ;
6565 not_f :
66- /*pr_info("HPFS: warning: position pointer %p->%08x not found\n",
66+ /*pr_warn(" position pointer %p->%08x not found\n",
6767 pos, (int)*pos);*/
6868 return ;
6969}
@@ -94,7 +94,7 @@ static void hpfs_pos_ins(loff_t *p, loff_t d, loff_t c)
9494 if ((* p & ~0x3f ) == (d & ~0x3f ) && (* p & 0x3f ) >= (d & 0x3f )) {
9595 int n = (* p & 0x3f ) + c ;
9696 if (n > 0x3f )
97- pr_warn ("HPFS: hpfs_pos_ins: %08x + %d\n" ,
97+ pr_warn ("hpfs_pos_ins: %08x + %d\n" ,
9898 (int )* p , (int )c >> 8 );
9999 else
100100 * p = (* p & ~0x3f ) | n ;
@@ -106,7 +106,7 @@ static void hpfs_pos_del(loff_t *p, loff_t d, loff_t c)
106106 if ((* p & ~0x3f ) == (d & ~0x3f ) && (* p & 0x3f ) >= (d & 0x3f )) {
107107 int n = (* p & 0x3f ) - c ;
108108 if (n < 1 )
109- pr_warn ("HPFS: hpfs_pos_ins: %08x - %d\n" ,
109+ pr_warn ("hpfs_pos_ins: %08x - %d\n" ,
110110 (int )* p , (int )c >> 8 );
111111 else
112112 * p = (* p & ~0x3f ) | n ;
@@ -246,7 +246,7 @@ static int hpfs_add_to_dnode(struct inode *i, dnode_secno dno,
246246 struct fnode * fnode ;
247247 int c1 , c2 = 0 ;
248248 if (!(nname = kmalloc (256 , GFP_NOFS ))) {
249- pr_warn ("HPFS: out of memory, can't add to dnode\n" );
249+ pr_warn ("out of memory, can't add to dnode\n" );
250250 return 1 ;
251251 }
252252 go_up :
@@ -288,7 +288,7 @@ static int hpfs_add_to_dnode(struct inode *i, dnode_secno dno,
288288 not be any error while splitting dnodes, otherwise the
289289 whole directory, not only file we're adding, would
290290 be lost. */
291- pr_warn ("HPFS: out of memory for dnode splitting\n" );
291+ pr_warn ("out of memory for dnode splitting\n" );
292292 hpfs_brelse4 (& qbh );
293293 kfree (nname );
294294 return 1 ;
@@ -604,7 +604,7 @@ static void delete_empty_dnode(struct inode *i, dnode_secno dno)
604604 if (!de_next -> down ) goto endm ;
605605 ndown = de_down_pointer (de_next );
606606 if (!(de_cp = kmalloc (le16_to_cpu (de -> length ), GFP_NOFS ))) {
607- pr_warn ("HPFS: out of memory for dtree balancing\n" );
607+ pr_warn ("out of memory for dtree balancing\n" );
608608 goto endm ;
609609 }
610610 memcpy (de_cp , de , le16_to_cpu (de -> length ));
@@ -645,15 +645,15 @@ static void delete_empty_dnode(struct inode *i, dnode_secno dno)
645645 if (!dlp && down ) {
646646 if (le32_to_cpu (d1 -> first_free ) > 2044 ) {
647647 if (hpfs_sb (i -> i_sb )-> sb_chk >= 2 ) {
648- pr_warn ("HPFS: warning: unbalanced dnode tree, see hpfs.txt 4 more info\n" );
649- pr_warn ("HPFS: warning: terminating balancing operation\n" );
648+ pr_warn ("unbalanced dnode tree, see hpfs.txt 4 more info\n" );
649+ pr_warn ("terminating balancing operation\n" );
650650 }
651651 hpfs_brelse4 (& qbh1 );
652652 goto endm ;
653653 }
654654 if (hpfs_sb (i -> i_sb )-> sb_chk >= 2 ) {
655- pr_warn ("HPFS: warning: unbalanced dnode tree, see hpfs.txt 4 more info\n" );
656- pr_warn ("HPFS: warning: goin'on\n" );
655+ pr_warn ("unbalanced dnode tree, see hpfs.txt 4 more info\n" );
656+ pr_warn ("goin'on\n" );
657657 }
658658 le16_add_cpu (& del -> length , 4 );
659659 del -> down = 1 ;
@@ -667,7 +667,7 @@ static void delete_empty_dnode(struct inode *i, dnode_secno dno)
667667 * (__le32 * ) ((void * ) del + le16_to_cpu (del -> length ) - 4 ) = cpu_to_le32 (down );
668668 } else goto endm ;
669669 if (!(de_cp = kmalloc (le16_to_cpu (de_prev -> length ), GFP_NOFS ))) {
670- pr_warn ("HPFS: out of memory for dtree balancing\n" );
670+ pr_warn ("out of memory for dtree balancing\n" );
671671 hpfs_brelse4 (& qbh1 );
672672 goto endm ;
673673 }
@@ -1008,7 +1008,7 @@ struct hpfs_dirent *map_fnode_dirent(struct super_block *s, fnode_secno fno,
10081008 int d1 , d2 = 0 ;
10091009 name1 = f -> name ;
10101010 if (!(name2 = kmalloc (256 , GFP_NOFS ))) {
1011- pr_warn ("HPFS: out of memory, can't map dirent\n" );
1011+ pr_warn ("out of memory, can't map dirent\n" );
10121012 return NULL ;
10131013 }
10141014 if (f -> len <= 15 )
0 commit comments