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:
96ff4f2
)
Fix file contiguous judgement.
author
noctis
<noctis.AKM@gmail.com>
Sun, 19 Aug 2018 10:07:19 +0000
(18:07 +0800)
committer
relan
<relan@users.noreply.github.com>
Mon, 4 May 2020 15:49:27 +0000
(18:49 +0300)
Signed-off-by: noctis <noctis.AKM@gmail.com>
libexfat/cluster.c
patch
|
blob
|
history
diff --git
a/libexfat/cluster.c
b/libexfat/cluster.c
index
15cd9aa
..
66f808f
100644
(file)
--- a/
libexfat/cluster.c
+++ b/
libexfat/cluster.c
@@
-280,7
+280,7
@@
static int grow_file(struct exfat* ef, struct exfat_node* node,
shrink_file(ef, node, current + allocated, allocated);
return -ENOSPC;
}
- if (next != previous
-
1 && node->is_contiguous)
+ if (next != previous
+
1 && node->is_contiguous)
{
/* it's a pity, but we are not able to keep the file contiguous
anymore */