added some debug code
authorAndrew Tridgell <tridge@samba.org>
Tue, 23 Sep 2008 02:09:56 +0000 (12:09 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 23 Sep 2008 02:09:56 +0000 (12:09 +1000)
source4/ntvfs/ntvfs_generic.c
source4/ntvfs/posix/pvfs_open.c
source4/ntvfs/posix/pvfs_xattr.c

index c34bb7125e6834dd8cc1f00c3fd6b3207fa4cc56..554d5c5aef001573a50ccb13580a7c8984d8f700 100644 (file)
@@ -533,6 +533,8 @@ NTSTATUS ntvfs_map_open(struct ntvfs_module_context *ntvfs,
 
                /* we need to check these bits before we check the private mask */
                if (io2->generic.in.create_options & SMB2_CREATE_OPTIONS_NOT_SUPPORTED_MASK) {
+                       DEBUG(2,(__location__ " create_options 0x%x not supported\n",
+                                io2->generic.in.create_options));
                        status = NT_STATUS_NOT_SUPPORTED;
                        break;
                }
index c127885a68f3cae149cb6321d19cdf0076c4206c..8dbc6742419602c00044629dd74c10461679da33 100644 (file)
@@ -1216,6 +1216,8 @@ NTSTATUS pvfs_open(struct ntvfs_module_context *ntvfs,
        create_options &= ~create_options_must_ignore_mask;
 
        if (create_options & NTCREATEX_OPTIONS_NOT_SUPPORTED_MASK) {
+               DEBUG(2,(__location__ " create_options 0x%x not supported\n", 
+                        create_options));
                return NT_STATUS_NOT_SUPPORTED;
        }
 
index 3cbbcbe92f638a721c5c112f6ea23bf7183fb14c..7a2945cd05499e8343fc2bf8e0d5d7f2fbf81557 100644 (file)
@@ -50,7 +50,7 @@ static NTSTATUS pull_xattr_blob(struct pvfs_state *pvfs,
        if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)||
            NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)||
            NT_STATUS_EQUAL(status, NT_STATUS_INVALID_SYSTEM_SERVICE)) {
-               DEBUG(5,("pvfs_xattr: xattr not supported in filesystem: %s\n", nt_errstr(status)));
+               DEBUG(2,("pvfs_xattr: xattr not supported in filesystem: %s\n", nt_errstr(status)));
                pvfs->flags &= ~PVFS_FLAG_XATTR_ENABLE;
                status = NT_STATUS_NOT_FOUND;
        }