summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r--source3/smbwrapper/smbw_dir.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index bd8c91682e..39fe034e7b 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -166,8 +166,6 @@ int smbw_dir_open(const char *fname)
int fd;
char *s, *p;
- DEBUG(4,("%s\n", __FUNCTION__));
-
if (!fname) {
errno = EINVAL;
return -1;
@@ -266,8 +264,6 @@ int smbw_dir_fstat(int fd, struct stat *st)
{
struct smbw_dir *dir;
- DEBUG(4,("%s\n", __FUNCTION__));
-
dir = smbw_dir(fd);
if (!dir) {
errno = EBADF;
@@ -290,11 +286,8 @@ int smbw_dir_close(int fd)
{
struct smbw_dir *dir;
- DEBUG(4,("%s\n", __FUNCTION__));
-
dir = smbw_dir(fd);
if (!dir) {
- DEBUG(4,("%s(%d)\n", __FUNCTION__, __LINE__));
errno = EBADF;
return -1;
}
@@ -317,8 +310,6 @@ int smbw_getdents(unsigned int fd, struct dirent *dirp, int count)
struct smbw_dir *dir;
int n=0;
- DEBUG(4,("%s\n", __FUNCTION__));
-
smbw_busy++;
dir = smbw_dir(fd);
@@ -371,8 +362,6 @@ int smbw_chdir(const char *name)
goto failed;
}
- DEBUG(4,("%s (%s)\n", __FUNCTION__, name));
-
/* work out what server they are after */
cwd = smbw_parse_path(name, server, share, path);
@@ -436,9 +425,6 @@ off_t smbw_dir_lseek(int fd, off_t offset, int whence)
struct smbw_dir *dir;
off_t ret;
- DEBUG(4,("%s offset=%d whence=%d\n", __FUNCTION__,
- (int)offset, whence));
-
dir = smbw_dir(fd);
if (!dir) {
errno = EBADF;
@@ -475,8 +461,6 @@ int smbw_mkdir(const char *fname, mode_t mode)
fstring server, share;
pstring path;
- DEBUG(4,("%s (%s)\n", __FUNCTION__, fname));
-
if (!fname) {
errno = EINVAL;
return -1;
@@ -518,8 +502,6 @@ int smbw_rmdir(const char *fname)
fstring server, share;
pstring path;
- DEBUG(4,("%s (%s)\n", __FUNCTION__, fname));
-
if (!fname) {
errno = EINVAL;
return -1;
@@ -595,8 +577,6 @@ int smbw_fchdir(unsigned int fd)
{
struct smbw_dir *dir;
- DEBUG(4,("%s\n", __FUNCTION__));
-
smbw_busy++;
dir = smbw_dir(fd);