|
@@ -186,9 +186,6 @@ static void fat16_ent_put(struct fat_entry *fatent, int new)
|
|
|
|
|
|
|
|
static void fat32_ent_put(struct fat_entry *fatent, int new)
|
|
static void fat32_ent_put(struct fat_entry *fatent, int new)
|
|
|
{
|
|
{
|
|
|
- if (new == FAT_ENT_EOF)
|
|
|
|
|
- new = EOF_FAT32;
|
|
|
|
|
-
|
|
|
|
|
WARN_ON(new & 0xf0000000);
|
|
WARN_ON(new & 0xf0000000);
|
|
|
new |= le32_to_cpu(*fatent->u.ent32_p) & ~0x0fffffff;
|
|
new |= le32_to_cpu(*fatent->u.ent32_p) & ~0x0fffffff;
|
|
|
*fatent->u.ent32_p = cpu_to_le32(new);
|
|
*fatent->u.ent32_p = cpu_to_le32(new);
|