Ignore:
Timestamp:
Nov 29, 2012, 1:59:04 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/modules/onefs_streams.c

    r745 r751  
    737737        }
    738738
    739         state.streams = NULL;
    740         state.num_streams = 0;
     739        state.streams = *pstreams;
     740        state.num_streams = *pnum_streams;
    741741
    742742        if (lp_parm_bool(SNUM(handle->conn), PARM_ONEFS_TYPE,
     
    745745        }
    746746
    747         /* Add the default stream. */
    748         if (S_ISREG(sbuf.st_ex_mode)) {
    749                 if (!add_one_stream(mem_ctx,
    750                                     &state.num_streams, &state.streams,
    751                                     "", sbuf.st_ex_size,
    752                                     SMB_VFS_GET_ALLOC_SIZE(handle->conn, fsp,
    753                                                            &sbuf))) {
    754                         return NT_STATUS_NO_MEMORY;
    755                 }
    756         }
    757 
    758747        state.mem_ctx = mem_ctx;
    759748        state.handle = handle;
     
    779768        *num_streams = state.num_streams;
    780769        *streams = state.streams;
    781         return NT_STATUS_OK;
    782 }
     770        return SMB_VFS_NEXT_STREAMINFO(handle, fsp, fname, mem_ctx, pnum_streams, pstreams);
     771}
Note: See TracChangeset for help on using the changeset viewer.