First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.
[jra/samba/.git] / source3 / smbd / fake_file.c
index 58b09604c4f4d12feecb0ea843102e5d07b05375..7feedcc9f9c8fa235a6a710d3d4613a983f28cba 100644 (file)
@@ -141,7 +141,6 @@ NTSTATUS open_fake_file(struct smb_request *req, connection_struct *conn,
                return NT_STATUS_NO_MEMORY;
        }
 
-       conn->num_files_open++;
        *result = fsp;
        return NT_STATUS_OK;
 }