From c9c8dbcc5307c6153230c9b9c4c3a5a422af2ddc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 31 Oct 2007 14:12:50 -0700 Subject: Add printout of large read/write caps if detected. Jeremy. (This used to be commit 52f13d84955224ebbaead53d8428baade6a22fe0) --- source3/client/client.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/client/client.c b/source3/client/client.c index f18505a418..a381d13cae 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2013,6 +2013,12 @@ static int cmd_posix(void) if (caplow & CIFS_UNIX_POSIX_PATH_OPERATIONS_CAP) { pstrcat(caps, "posix_path_operations "); } + if (caplow & CIFS_UNIX_LARGE_READ_CAP) { + pstrcat(caps, "large_read "); + } + if (caplow & CIFS_UNIX_LARGE_WRITE_CAP) { + pstrcat(caps, "large_write "); + } if (strlen(caps) > 0 && caps[strlen(caps)-1] == ' ') { caps[strlen(caps)-1] = '\0'; -- cgit