Loading ifs/src/daemon/fs_operations.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ using namespace std; // TODO This file might not be needed anymore. int adafs_open(string& path, int flags, mode_t mode) { auto uid = getuid(); // XXX this should go into daemon init and set it globally auto gid = getgid(); Loading ifs/src/preload/preload.cpp +2 −6 Original line number Diff line number Diff line Loading @@ -121,19 +121,15 @@ int open(const char* path, int flags, ...) { err = ipc_send_open(path, flags, mode, ipc_open_id); } else { // remote err = rpc_send_create_node(rpc_create_node_id, recipient, path, mode); // XXX change create node to generic open mode); } } else { // single node operation err = ipc_send_open(path, flags, mode, ipc_open_id); } } else { // do nothing. // look up if file exists err = 0; } err = ipc_send_open(path, flags, mode, ipc_open_id); // auto err = 0; #endif if (err == 0) return fd; Loading Loading
ifs/src/daemon/fs_operations.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ using namespace std; // TODO This file might not be needed anymore. int adafs_open(string& path, int flags, mode_t mode) { auto uid = getuid(); // XXX this should go into daemon init and set it globally auto gid = getgid(); Loading
ifs/src/preload/preload.cpp +2 −6 Original line number Diff line number Diff line Loading @@ -121,19 +121,15 @@ int open(const char* path, int flags, ...) { err = ipc_send_open(path, flags, mode, ipc_open_id); } else { // remote err = rpc_send_create_node(rpc_create_node_id, recipient, path, mode); // XXX change create node to generic open mode); } } else { // single node operation err = ipc_send_open(path, flags, mode, ipc_open_id); } } else { // do nothing. // look up if file exists err = 0; } err = ipc_send_open(path, flags, mode, ipc_open_id); // auto err = 0; #endif if (err == 0) return fd; Loading