Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/modules/vfs_fileid.c

    r133 r232  
    189189        }
    190190
    191         data->device_mapping_fn = fileid_device_mapping_fsid;
     191        /*
     192         * "fileid:mapping" is only here as fallback for old setups
     193         * "fileid:algorithm" is the option new setups should use
     194         */
     195        algorithm = lp_parm_const_string(SNUM(handle->conn),
     196                                         "fileid", "mapping",
     197                                         "fsname");
    192198        algorithm = lp_parm_const_string(SNUM(handle->conn),
    193199                                         "fileid", "algorithm",
    194                                          "fsname");
     200                                         algorithm);
    195201        if (strcmp("fsname", algorithm) == 0) {
    196202                data->device_mapping_fn = fileid_device_mapping_fsname;
Note: See TracChangeset for help on using the changeset viewer.