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:
3d0f441
)
9pfs: remove useless return
author
Michael Tokarev
<mjt@tls.msk.ru>
Wed, 4 Mar 2015 17:03:41 +0000
(20:03 +0300)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Mar 2015 05:15:34 +0000
(08:15 +0300)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/9pfs/virtio-9p-local.c
patch
|
blob
|
history
diff --git
a/hw/9pfs/virtio-9p-local.c
b/hw/9pfs/virtio-9p-local.c
index
a183eee
..
d05c917
100644
(file)
--- a/
hw/9pfs/virtio-9p-local.c
+++ b/
hw/9pfs/virtio-9p-local.c
@@
-332,7
+332,6
@@
static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
tsize = read(fd, (void *)buf, bufsz);
} while (tsize == -1 && errno == EINTR);
close(fd);
- return tsize;
} else if ((fs_ctx->export_flags & V9FS_SM_PASSTHROUGH) ||
(fs_ctx->export_flags & V9FS_SM_NONE)) {
buffer = rpath(fs_ctx, path);