Add printout of large read/write caps if detected.
authorJeremy Allison <jra@samba.org>
Wed, 31 Oct 2007 21:12:50 +0000 (14:12 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 31 Oct 2007 21:12:50 +0000 (14:12 -0700)
Jeremy.
(This used to be commit 52f13d84955224ebbaead53d8428baade6a22fe0)

source3/client/client.c

index f18505a41837822a272cd368711514e2317148ca..a381d13cae74040e15754e23c30079e36f8067c0 100644 (file)
@@ -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';