fat: follow rename pack_hex_byte() to hex_byte_pack()
[pandora-kernel.git] / fs / fat / dir.c
index 4ad6473..aca191b 100644 (file)
@@ -156,8 +156,8 @@ static int uni16_to_x8(struct super_block *sb, unsigned char *ascii,
                } else {
                        if (uni_xlate == 1) {
                                *op++ = ':';
-                               op = pack_hex_byte(op, ec >> 8);
-                               op = pack_hex_byte(op, ec);
+                               op = hex_byte_pack(op, ec >> 8);
+                               op = hex_byte_pack(op, ec);
                                len -= 5;
                        } else {
                                *op++ = '?';
@@ -1231,7 +1231,7 @@ int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
        struct super_block *sb = dir->i_sb;
        struct msdos_sb_info *sbi = MSDOS_SB(sb);
        struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */
-       struct msdos_dir_entry *de;
+       struct msdos_dir_entry *uninitialized_var(de);
        int err, free_slots, i, nr_bhs;
        loff_t pos, i_pos;