mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
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:
parent
d48209e3ed
commit
18084befa0
@ -1362,7 +1362,6 @@ void EdenMount::channelInitSuccessful(
|
||||
config_->getClientDirectory(),
|
||||
bindMounts,
|
||||
folly::File{},
|
||||
fuse_init_out{},
|
||||
SerializedInodeMap{} // placeholder
|
||||
));
|
||||
#else
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user