projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f69f90
)
hds: fix a file creation error on windows host.
89/31489/1
author
Sooyoung Ha
<yoosah.ha@samsung.com>
Fri, 5 Dec 2014 08:01:23 +0000
(17:01 +0900)
committer
Sooyoung Ha
<yoosah.ha@samsung.com>
Fri, 5 Dec 2014 09:42:43 +0000
(18:42 +0900)
Change-Id: I78d92223aa7e6c84cbdea0aeddfce65cb30fb291
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
hw/9pfs/virtio-9p-local-maru.c
patch
|
blob
|
history
diff --git
a/hw/9pfs/virtio-9p-local-maru.c
b/hw/9pfs/virtio-9p-local-maru.c
index
2147fd2
..
ce5b7fd
100644
(file)
--- a/
hw/9pfs/virtio-9p-local-maru.c
+++ b/
hw/9pfs/virtio-9p-local-maru.c
@@
-443,6
+443,7
@@
static int local_post_create_passthrough(FsContext *fs_ctx, const char *path,
FsCred *credp)
{
#ifndef CONFIG_WIN32
+ LOG_TRACE("[%d][ Enter >> %s]\n", __LINE__, __func__);
char *buffer;
buffer = rpath(fs_ctx, path);
@@
-464,8
+465,11
@@
static int local_post_create_passthrough(FsContext *fs_ctx, const char *path,
return 0;
err:
g_free(buffer);
-#endif
return -1;
+#else //CONFIG_WIN32
+ /* chown doesn't matter with the Windows environment. */
+ return 0;
+#endif
}
static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,