mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 19:15:32 +00:00
9pfs: remove useless return
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
3d0f441891
commit
438940cbc2
@ -332,7 +332,6 @@ static ssize_t local_readlink(FsContext *fs_ctx, V9fsPath *fs_path,
|
|||||||
tsize = read(fd, (void *)buf, bufsz);
|
tsize = read(fd, (void *)buf, bufsz);
|
||||||
} while (tsize == -1 && errno == EINTR);
|
} while (tsize == -1 && errno == EINTR);
|
||||||
close(fd);
|
close(fd);
|
||||||
return tsize;
|
|
||||||
} else if ((fs_ctx->export_flags & V9FS_SM_PASSTHROUGH) ||
|
} else if ((fs_ctx->export_flags & V9FS_SM_PASSTHROUGH) ||
|
||||||
(fs_ctx->export_flags & V9FS_SM_NONE)) {
|
(fs_ctx->export_flags & V9FS_SM_NONE)) {
|
||||||
buffer = rpath(fs_ctx, path);
|
buffer = rpath(fs_ctx, path);
|
||||||
|
Loading…
Reference in New Issue
Block a user