summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-05-10 17:58:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:53 -0500
commit1d37a6267ed07ce1d181d76a5e4ca06bc41c3c88 (patch)
tree2cba102f0806f98dbb30cd02386647afa3a78f3f /source3/smbd
parent27bef67b3a8d8ae5f800c8477473ad6258391293 (diff)
downloadsamba-1d37a6267ed07ce1d181d76a5e4ca06bc41c3c88.tar.gz
samba-1d37a6267ed07ce1d181d76a5e4ca06bc41c3c88.tar.bz2
samba-1d37a6267ed07ce1d181d76a5e4ca06bc41c3c88.zip
r6715: We don't need to wrap the setfsinfo call in HAVE_QUOTA
as they'll just return ENOSYS if we don't. Add new CAP for POSIX pathnames, prepare to allow FSINFO set for client POSIX caps. Jeremy. (This used to be commit 4d99b57aedba8431ef5827d1e75413a10b35e1ce)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index d9f3c9e81d..8dedf30472 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2405,7 +2405,6 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
return -1;
}
-#ifdef HAVE_SYS_QUOTAS
/****************************************************************************
Reply to a TRANS2_SETFSINFO (set filesystem info).
****************************************************************************/
@@ -2517,7 +2516,6 @@ static int call_trans2setfsinfo(connection_struct *conn, char *inbuf, char *outb
return outsize;
}
-#endif /* HAVE_SYS_QUOTAS */
/****************************************************************************
Utility function to set bad path error.
@@ -4997,14 +4995,13 @@ int reply_trans2(connection_struct *conn,
END_PROFILE_NESTED(Trans2_qfsinfo);
break;
-#ifdef HAVE_SYS_QUOTAS
case TRANSACT2_SETFSINFO:
START_PROFILE_NESTED(Trans2_setfsinfo);
outsize = call_trans2setfsinfo(conn, inbuf, outbuf, length, bufsize,
&params, total_params, &data, total_data, max_data_bytes);
END_PROFILE_NESTED(Trans2_setfsinfo);
break;
-#endif
+
case TRANSACT2_QPATHINFO:
case TRANSACT2_QFILEINFO:
START_PROFILE_NESTED(Trans2_qpathinfo);