win: remove fuse_init_out from Stub.h

Summary:
With this gone, we will be able to rename and move Stub.h outside of the win
directory.

Reviewed By: genevievehelsel

Differential Revision: D23696243

fbshipit-source-id: ea05b10951fa38a77ce38cd6a09a293364dbeec9
This commit is contained in:
Xavier Deguillard 2020-09-16 12:29:25 -07:00 committed by Facebook GitHub Bot
parent d48209e3ed
commit 18084befa0
3 changed files with 8 additions and 8 deletions

View File

@ -1362,7 +1362,6 @@ void EdenMount::channelInitSuccessful(
config_->getClientDirectory(),
bindMounts,
folly::File{},
fuse_init_out{},
SerializedInodeMap{} // placeholder
));
#else

View File

@ -90,20 +90,27 @@ class TakeoverData {
AbsolutePathPiece stateDirectory,
const std::vector<AbsolutePath>& bindMountPaths,
folly::File fd,
#ifndef _WIN32
fuse_init_out connInfo,
#endif
SerializedInodeMap&& inodeMap)
: mountPath{mountPath},
stateDirectory{stateDirectory},
bindMounts{bindMountPaths},
fuseFD{std::move(fd)},
#ifndef _WIN32
connInfo{connInfo},
inodeMap{std::move(inodeMap)} {}
#endif
inodeMap{std::move(inodeMap)} {
}
AbsolutePath mountPath;
AbsolutePath stateDirectory;
std::vector<AbsolutePath> bindMounts;
folly::File fuseFD;
#ifndef _WIN32
fuse_init_out connInfo;
#endif
SerializedInodeMap inodeMap;
};

View File

@ -8,12 +8,6 @@
#pragma once
#include "eden/fs/service/EdenError.h"
// This is a stub to compile eden/service on Window.
struct fuse_init_out {
uint32_t major;
uint32_t minor;
};
namespace facebook {
namespace eden {