src/wrap.c
The merge merged back the stat functions we are trying to move. Remove them now.
@@ -2255,114 +2255,6 @@ stat(const char *pathname, struct stat *statbuf)
return rc;
}
-EXPORTON int
-lstat(const char *pathname, struct stat *statbuf)
-{
- int rc;
-
- WRAP_CHECK(lstat, -1);
- doThread();
- rc = g_fn.lstat(pathname, statbuf);
-
- if (rc != -1) {
- scopeLog("lstat", -1, CFG_LOG_DEBUG);
- if (pathname) {
- //doFSMetric(FS_XXX, -1, pathname, EVENT_BASED, "lstat");
- }
- }
- return rc;
-}
-
-EXPORTON int
-fstat(int fd, struct stat *statbuf)
-{
- int rc;
-
- WRAP_CHECK(fstat, -1);
- doThread();
- rc = g_fn.fstat(fd, statbuf);
-
- if (rc != -1) {
- scopeLog("fstat", fd, CFG_LOG_DEBUG);
- if (checkFSEntry(fd)) {
- //doFSMetric(FS_XXX, fd, NULL, EVENT_BASED, "fstat");
- }
- }
- return rc;
-}
-
-EXPORTON int
-statfs(const char *path, struct statfs *buf)
-{
- int rc;
-
- WRAP_CHECK(statfs, -1);
- doThread();
- rc = g_fn.statfs(path, buf);
-
- if (rc != -1) {
- scopeLog("statfs", -1, CFG_LOG_DEBUG);
- if (path) {
- //doFSMetric(FS_XXX, -1, path, EVENT_BASED, "statfs");
- }
- }
- return rc;
-}
-
-EXPORTON int
-fstatfs(int fd, struct statfs *buf)
-{
- int rc;
-
- WRAP_CHECK(fstatfs, -1);
- doThread();
- rc = g_fn.fstatfs(fd, buf);
-
- if (rc != -1) {
- scopeLog("fstatfs", fd, CFG_LOG_DEBUG);
- if (checkFSEntry(fd)) {
- //doFSMetric(FS_XXX, fd, NULL, EVENT_BASED, "fstatfs");
- }
- }
- return rc;
-}
-
-EXPORTON int
-statvfs(const char *path, struct statvfs *buf)
-{
- int rc;
-
- WRAP_CHECK(statvfs, -1);
- doThread();
- rc = g_fn.statvfs(path, buf);
-
- if (rc != -1) {
- scopeLog("statvfs", -1, CFG_LOG_DEBUG);
- if (path) {
- //doFSMetric(FS_XXX, -1, path, EVENT_BASED, "statvfs");
- }
- }
- return rc;
-}
-
-EXPORTON int
-fstatvfs(int fd, struct statvfs *buf)
-{
- int rc;
-
- WRAP_CHECK(fstatvfs, -1);
- doThread();
- rc = g_fn.fstatvfs(fd, buf);
-
- if (rc != -1) {
- scopeLog("fstatvfs", fd, CFG_LOG_DEBUG);
- if (checkFSEntry(fd)) {
- //doFSMetric(FS_XXX, fd, NULL, EVENT_BASED, "fstatvfs");
- }
- }
- return rc;
-}
-
EXPORTON ssize_t
write(int fd, const void *buf, size_t count)
{
