Merge pull request #87 from trapexit/namespaces

change fuse functions to use the fuse namespace
This commit is contained in:
Antonio SJ Musumeci 2015-07-15 10:54:23 -04:00
commit f8f63cdbd1
75 changed files with 111 additions and 111 deletions

View File

@ -68,7 +68,7 @@ _access(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace access
namespace fuse
{
int
access(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace access
namespace fuse
{
int
access(const char *fusepath,

View File

@ -68,7 +68,7 @@ _chmod(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace chmod
namespace fuse
{
int
chmod(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace chmod
namespace fuse
{
int
chmod(const char *fusepath,

View File

@ -70,7 +70,7 @@ _chown(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace chown
namespace fuse
{
int
chown(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace chown
namespace fuse
{
int
chown(const char *fusepath,

View File

@ -86,7 +86,7 @@ _create(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace create
namespace fuse
{
int
create(const char *fusepath,

View File

@ -27,7 +27,7 @@
namespace mergerfs
{
namespace create
namespace fuse
{
int
create(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace destroy
namespace fuse
{
void
destroy(void *)

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace destroy
namespace fuse
{
void
destroy(void *);

View File

@ -64,7 +64,7 @@ _fallocate(const int fd,
namespace mergerfs
{
namespace fallocate
namespace fuse
{
int
fallocate(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace fallocate
namespace fuse
{
int
fallocate(const char *fusepath,

View File

@ -43,7 +43,7 @@ _fgetattr(const int fd,
namespace mergerfs
{
namespace fgetattr
namespace fuse
{
int
fgetattr(const char *fusepath,

View File

@ -28,7 +28,7 @@
namespace mergerfs
{
namespace fgetattr
namespace fuse
{
int
fgetattr(const char *fusepath,

View File

@ -44,7 +44,7 @@ _flush(const int fd)
namespace mergerfs
{
namespace flush
namespace fuse
{
int
flush(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace flush
namespace fuse
{
int
flush(const char *path,

View File

@ -50,7 +50,7 @@ _fsync(const int fd,
namespace mergerfs
{
namespace fsync
namespace fuse
{
int
fsync(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace fsync
namespace fuse
{
int
fsync(const char *fusepath,

View File

@ -42,7 +42,7 @@ _ftruncate(const int fd,
namespace mergerfs
{
namespace ftruncate
namespace fuse
{
int
ftruncate(const char *fusepath,

View File

@ -29,7 +29,7 @@
namespace mergerfs
{
namespace ftruncate
namespace fuse
{
int
ftruncate(const char *fusepath,

View File

@ -88,7 +88,7 @@ _getattr(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace getattr
namespace fuse
{
int
getattr(const char *fusepath,

View File

@ -28,7 +28,7 @@
namespace mergerfs
{
namespace getattr
namespace fuse
{
int
getattr(const char *fusepath,

View File

@ -238,7 +238,7 @@ _getxattr(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace getxattr
namespace fuse
{
int
getxattr(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace getxattr
namespace fuse
{
int
getxattr(const char *fusepath,

View File

@ -28,7 +28,7 @@
namespace mergerfs
{
namespace init
namespace fuse
{
void *
init(struct fuse_conn_info *conn)

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace init
namespace fuse
{
void *
init(struct fuse_conn_info *conn);

View File

@ -138,7 +138,7 @@ _ioctl_dir(const string &fusepath,
namespace mergerfs
{
namespace ioctl
namespace fuse
{
int
ioctl(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace ioctl
namespace fuse
{
int
ioctl(const char *fusepath,

View File

@ -104,7 +104,7 @@ _link(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace link
namespace fuse
{
int
link(const char *from,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace link
namespace fuse
{
int
link(const char *from,

View File

@ -102,7 +102,7 @@ _listxattr(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace listxattr
namespace fuse
{
int
listxattr(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace listxattr
namespace fuse
{
int
listxattr(const char *fusepath,

View File

@ -92,57 +92,57 @@ namespace local
#endif
ops.flag_nullpath_ok = false;
ops.access = mergerfs::access::access;
ops.access = mergerfs::fuse::access;
ops.bmap = NULL;
ops.chmod = mergerfs::chmod::chmod;
ops.chown = mergerfs::chown::chown;
ops.create = mergerfs::create::create;
ops.destroy = mergerfs::destroy::destroy;
ops.chmod = mergerfs::fuse::chmod;
ops.chown = mergerfs::fuse::chown;
ops.create = mergerfs::fuse::create;
ops.destroy = mergerfs::fuse::destroy;
#if FALLOCATE
ops.fallocate = mergerfs::fallocate::fallocate;
ops.fallocate = mergerfs::fuse::fallocate;
#endif
ops.fgetattr = mergerfs::fgetattr::fgetattr;
ops.fgetattr = mergerfs::fuse::fgetattr;
#if FLOCK
ops.flock = NULL;
#endif
ops.flush = mergerfs::flush::flush;
ops.fsync = mergerfs::fsync::fsync;
ops.flush = mergerfs::fuse::flush;
ops.fsync = mergerfs::fuse::fsync;
ops.fsyncdir = NULL;
ops.ftruncate = mergerfs::ftruncate::ftruncate;
ops.getattr = mergerfs::getattr::getattr;
ops.ftruncate = mergerfs::fuse::ftruncate;
ops.getattr = mergerfs::fuse::getattr;
ops.getdir = NULL; /* deprecated; use readdir */
ops.getxattr = mergerfs::getxattr::getxattr;
ops.init = mergerfs::init::init;
ops.ioctl = mergerfs::ioctl::ioctl;
ops.link = mergerfs::link::link;
ops.listxattr = mergerfs::listxattr::listxattr;
ops.getxattr = mergerfs::fuse::getxattr;
ops.init = mergerfs::fuse::init;
ops.ioctl = mergerfs::fuse::ioctl;
ops.link = mergerfs::fuse::link;
ops.listxattr = mergerfs::fuse::listxattr;
ops.lock = NULL;
ops.mkdir = mergerfs::mkdir::mkdir;
ops.mknod = mergerfs::mknod::mknod;
ops.open = mergerfs::open::open;
ops.opendir = mergerfs::opendir::opendir;
ops.mkdir = mergerfs::fuse::mkdir;
ops.mknod = mergerfs::fuse::mknod;
ops.open = mergerfs::fuse::open;
ops.opendir = mergerfs::fuse::opendir;
ops.poll = NULL;
ops.read = mergerfs::read::read;
ops.read = mergerfs::fuse::read;
#if READ_BUF
ops.read_buf = mergerfs::read_buf::read_buf;
ops.read_buf = mergerfs::fuse::read_buf;
#endif
ops.readdir = mergerfs::readdir::readdir;
ops.readlink = mergerfs::readlink::readlink;
ops.release = mergerfs::release::release;
ops.releasedir = mergerfs::releasedir::releasedir;
ops.removexattr = mergerfs::removexattr::removexattr;
ops.rename = mergerfs::rename::rename;
ops.rmdir = mergerfs::rmdir::rmdir;
ops.setxattr = mergerfs::setxattr::setxattr;
ops.statfs = mergerfs::statfs::statfs;
ops.symlink = mergerfs::symlink::symlink;
ops.truncate = mergerfs::truncate::truncate;
ops.unlink = mergerfs::unlink::unlink;
ops.readdir = mergerfs::fuse::readdir;
ops.readlink = mergerfs::fuse::readlink;
ops.release = mergerfs::fuse::release;
ops.releasedir = mergerfs::fuse::releasedir;
ops.removexattr = mergerfs::fuse::removexattr;
ops.rename = mergerfs::fuse::rename;
ops.rmdir = mergerfs::fuse::rmdir;
ops.setxattr = mergerfs::fuse::setxattr;
ops.statfs = mergerfs::fuse::statfs;
ops.symlink = mergerfs::fuse::symlink;
ops.truncate = mergerfs::fuse::truncate;
ops.unlink = mergerfs::fuse::unlink;
ops.utime = NULL; /* deprecated; use utimens() */
ops.utimens = mergerfs::utimens::utimens;
ops.write = mergerfs::write::write;
ops.utimens = mergerfs::fuse::utimens;
ops.write = mergerfs::fuse::write;
#if WRITE_BUF
ops.write_buf = mergerfs::write_buf::write_buf;
ops.write_buf = mergerfs::fuse::write_buf;
#endif
return;

View File

@ -88,7 +88,7 @@ _mkdir(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace mkdir
namespace fuse
{
int
mkdir(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace mkdir
namespace fuse
{
int
mkdir(const char *fusepath,

View File

@ -90,7 +90,7 @@ _mknod(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace mknod
namespace fuse
{
int
mknod(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace mknod
namespace fuse
{
int
mknod(const char *fusepath,

View File

@ -68,7 +68,7 @@ _open(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace open
namespace fuse
{
int
open(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace open
namespace fuse
{
int
open(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace opendir
namespace fuse
{
int
opendir(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace opendir
namespace fuse
{
int
opendir(const char *fusepath,

View File

@ -46,7 +46,7 @@ _read(const int fd,
namespace mergerfs
{
namespace read
namespace fuse
{
int
read(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace read
namespace fuse
{
int
read(const char *fusepath,

View File

@ -56,7 +56,7 @@ _read_buf(const int fd,
namespace mergerfs
{
namespace read_buf
namespace fuse
{
int
read_buf(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace read_buf
namespace fuse
{
int
read_buf(const char *fusepath,

View File

@ -87,7 +87,7 @@ _readdir(const vector<string> &srcmounts,
namespace mergerfs
{
namespace readdir
namespace fuse
{
int
readdir(const char *fusepath,

View File

@ -36,7 +36,7 @@
namespace mergerfs
{
namespace readdir
namespace fuse
{
int
readdir(const char *fusepath,

View File

@ -68,7 +68,7 @@ _readlink(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace readlink
namespace fuse
{
int
readlink(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace readlink
namespace fuse
{
int
readlink(const char *fusepath,

View File

@ -42,7 +42,7 @@ _release(uint64_t &fh)
namespace mergerfs
{
namespace release
namespace fuse
{
int
release(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace release
namespace fuse
{
int
release(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace releasedir
namespace fuse
{
int
releasedir(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace releasedir
namespace fuse
{
int
releasedir(const char *fusepath,

View File

@ -75,7 +75,7 @@ _removexattr(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace removexattr
namespace fuse
{
int
removexattr(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace removexattr
namespace fuse
{
int
removexattr(const char *fusepath,

View File

@ -107,7 +107,7 @@ _rename(Policy::Func::Search searchFunc,
namespace mergerfs
{
namespace rename
namespace fuse
{
int
rename(const char *oldpath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace rename
namespace fuse
{
int
rename(const char *from,

View File

@ -68,7 +68,7 @@ _rmdir(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace rmdir
namespace fuse
{
int
rmdir(const char *fusepath)

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace rmdir
namespace fuse
{
int
rmdir(const char *fusepath);

View File

@ -298,7 +298,7 @@ _setxattr(Policy::Func::Action actionFunc,
}
namespace mergerfs
{
namespace setxattr
namespace fuse
{
int
setxattr(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace setxattr
namespace fuse
{
int
setxattr(const char *fusepath,

View File

@ -118,7 +118,7 @@ _statfs(const vector<string> &srcmounts,
namespace mergerfs
{
namespace statfs
namespace fuse
{
int
statfs(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace statfs
namespace fuse
{
int
statfs(const char *fusepath,

View File

@ -71,7 +71,7 @@ _symlink(Policy::Func::Create createFunc,
namespace mergerfs
{
namespace symlink
namespace fuse
{
int
symlink(const char *oldpath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace symlink
namespace fuse
{
int
symlink(const char *oldpath,

View File

@ -71,7 +71,7 @@ _truncate(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace truncate
namespace fuse
{
int
truncate(const char *fusepath,

View File

@ -26,7 +26,7 @@
namespace mergerfs
{
namespace truncate
namespace fuse
{
int
truncate(const char *fusepath,

View File

@ -69,7 +69,7 @@ _unlink(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace unlink
namespace fuse
{
int
unlink(const char *fusepath)

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace unlink
namespace fuse
{
int
unlink(const char *fusepath);

View File

@ -71,7 +71,7 @@ _utimens(Policy::Func::Action actionFunc,
namespace mergerfs
{
namespace utimens
namespace fuse
{
int
utimens(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace utimens
namespace fuse
{
int
utimens(const char *fusepath,

View File

@ -43,7 +43,7 @@ _write(const int fd,
namespace mergerfs
{
namespace write
namespace fuse
{
int
write(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace write
namespace fuse
{
int
write(const char *fusepath,

View File

@ -50,7 +50,7 @@ _write_buf(const int fd,
namespace mergerfs
{
namespace write_buf
namespace fuse
{
int
write_buf(const char *fusepath,

View File

@ -24,7 +24,7 @@
namespace mergerfs
{
namespace write_buf
namespace fuse
{
int
write_buf(const char *fusepath,