Commit 202c3880 authored by Marc Vef's avatar Marc Vef
Browse files

Maintenance: Code reformatting

parent ba41f16d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -42,7 +42,10 @@ int gkfs_stat(const std::string& path, struct stat* buf, bool follow_links = tru
// Implementation of statx, it uses the normal stat and maps the information to the statx structure
// Follow links is true by default 
#ifdef STATX_TYPE
int gkfs_statx(int dirfd, const std::string& path, int flags, unsigned int mask,struct statx* buf, bool follow_links = true );

int gkfs_statx(int dirfd, const std::string& path, int flags, unsigned int mask, struct statx* buf,
               bool follow_links = true);

#endif

int gkfs_statfs(struct statfs* buf);
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ std::shared_ptr<gkfs::metadata::Metadata> get_metadata(const std::string& path,
int metadata_to_stat(const std::string& path, const gkfs::metadata::Metadata& md, struct stat& attr);

void load_hosts();

void load_forwarding_map();

std::vector<std::pair<std::string, std::string>> read_hosts_file();
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ class OpenDir;
}
namespace metadata {
struct MetadentryUpdateFlags;

class Metadata;
}

+6 −3
Original line number Diff line number Diff line
@@ -4,10 +4,13 @@
#include <agios.h>

void agios_initialize();

void agios_shutdown();

void* agios_callback(int64_t request_id);

void* agios_callback_aggregated(int64_t* requests, int32_t total);

void* agios_eventual_callback(int64_t request_id, void* info);

unsigned long long int generate_unique_id();
+3 −2
Original line number Diff line number Diff line
@@ -328,6 +328,7 @@ int gkfs_statx(int dirfs, const std::string& path, int flags, unsigned int mask,

    return 0;
}

#endif

/**
Loading