OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7895011
)
Fixed FAT size calculation.
author
resver
<resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Wed, 24 Nov 2010 20:09:25 +0000
(20:09 +0000)
committer
resver
<resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Wed, 24 Nov 2010 20:09:25 +0000
(20:09 +0000)
git-svn-id: http://exfat.googlecode.com/svn/trunk@182
60bc1c72
-a15a-11de-b98f-
4500b42dc123
mkfs/fat.c
patch
|
blob
|
history
diff --git
a/mkfs/fat.c
b/mkfs/fat.c
index
ecbe822
..
3f470cf
100644
(file)
--- a/
mkfs/fat.c
+++ b/
mkfs/fat.c
@@
-33,7
+33,7
@@
off_t fat_alignment(void)
off_t fat_size(void)
{
- return (off_t) le32_to_cpu(sb.
cluster_count) * sizeof(cluster_t
);
+ return (off_t) le32_to_cpu(sb.
fat_block_count) * BLOCK_SIZE(sb
);
}
static cluster_t fat_write_entry(cluster_t cluster, cluster_t value, int fd)