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:
4656273
)
Fix return value from exfat_rename().
author
relan
<relan@users.noreply.github.com>
Sat, 18 Jan 2014 07:36:44 +0000
(07:36 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:16 +0000
(08:26 +0300)
libexfat/node.c
patch
|
blob
|
history
diff --git
a/libexfat/node.c
b/libexfat/node.c
index
6cb0eb0
..
af05533
100644
(file)
--- a/
libexfat/node.c
+++ b/
libexfat/node.c
@@
-1093,7
+1093,7
@@
int exfat_rename(struct exfat* ef, const char* old_path, const char* new_path)
rc = rename_entry(ef, dir, node, name, cluster, offset);
exfat_put_node(ef, dir);
exfat_put_node(ef, node);
- return
0
;
+ return
rc
;
}
void exfat_utimes(struct exfat_node* node, const struct timespec tv[2])