@@ -187,7 +187,7 @@ unsigned int ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize)
187187 return blocksize ;
188188 return (len & 65532 ) | ((len & 3 ) << 16 );
189189}
190-
190+
191191__le16 ext4_rec_len_to_disk (unsigned len , unsigned blocksize )
192192{
193193 if ((len > blocksize ) || (blocksize > (1 << 18 )) || (len & 3 ))
@@ -197,7 +197,7 @@ __le16 ext4_rec_len_to_disk(unsigned len, unsigned blocksize)
197197 if (len == blocksize ) {
198198 if (blocksize == 65536 )
199199 return cpu_to_le16 (EXT4_MAX_REC_LEN );
200- else
200+ else
201201 return cpu_to_le16 (0 );
202202 }
203203 return cpu_to_le16 ((len & 65532 ) | ((len >> 16 ) & 3 ));
@@ -349,7 +349,7 @@ struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir,
349349 brelse (bh );
350350 }
351351 if (bcount )
352- printk (KERN_DEBUG "%snames %u, fullness %u (%u%%)\n" ,
352+ printk (KERN_DEBUG "%snames %u, fullness %u (%u%%)\n" ,
353353 levels ? "" : " " , names , space /bcount ,
354354 (space /bcount )* 100 /blocksize );
355355 return (struct stats ) { names , space , bcount };
@@ -653,7 +653,7 @@ int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
653653 int ret , err ;
654654 __u32 hashval ;
655655
656- dxtrace (printk (KERN_DEBUG "In htree_fill_tree, start hash: %x:%x\n" ,
656+ dxtrace (printk (KERN_DEBUG "In htree_fill_tree, start hash: %x:%x\n" ,
657657 start_hash , start_minor_hash ));
658658 dir = dir_file -> f_path .dentry -> d_inode ;
659659 if (!(ext4_test_inode_flag (dir , EXT4_INODE_INDEX ))) {
@@ -1141,7 +1141,7 @@ dx_move_dirents(char *from, char *to, struct dx_map_entry *map, int count,
11411141 unsigned rec_len = 0 ;
11421142
11431143 while (count -- ) {
1144- struct ext4_dir_entry_2 * de = (struct ext4_dir_entry_2 * )
1144+ struct ext4_dir_entry_2 * de = (struct ext4_dir_entry_2 * )
11451145 (from + (map -> offs <<2 ));
11461146 rec_len = EXT4_DIR_REC_LEN (de -> name_len );
11471147 memcpy (to , de , rec_len );
0 commit comments