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/smbd/vfs.c

    r745 r751  
    11341134}
    11351135
     1136
     1137
     1138
     1139
     1140
     1141
     1142
     1143
     1144
     1145
     1146
     1147
     1148
     1149
     1150
    11361151/*
    11371152  generate a file_id from a stat structure
     
    15091524
    15101525                /* cd into the parent dir to pin it. */
    1511                 ret = SMB_VFS_CHDIR(fsp->conn, parent_dir);
     1526                ret = (fsp->conn, parent_dir);
    15121527                if (ret == -1) {
    15131528                        return map_nt_error_from_unix(errno);
     
    15201535                ret = SMB_VFS_LSTAT(fsp->conn, &local_fname);
    15211536                if (ret == -1) {
    1522                         return map_nt_error_from_unix(errno);
     1537                        status = map_nt_error_from_unix(errno);
     1538                        goto out;
    15231539                }
    15241540
    15251541                /* Ensure it matches the fsp stat. */
    15261542                if (!check_same_stat(&local_fname.st, &fsp->fsp_name->st)) {
    1527                         return NT_STATUS_ACCESS_DENIED;
     1543                        status = NT_STATUS_ACCESS_DENIED;
     1544                        goto out;
    15281545                }
    15291546                path = final_component;
     
    15481565        }
    15491566
     1567
     1568
    15501569        if (as_root) {
    15511570                vfs_ChDir(fsp->conn,saved_dir);
Note: See TracChangeset for help on using the changeset viewer.