keep compatibility with v3-0-ctdb name for fileid:mapping option
authorAndrew Tridgell <tridge@samba.org>
Mon, 21 Apr 2008 16:40:45 +0000 (18:40 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:54:01 +0000 (11:54 +0200)
(This used to be commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)

source3/modules/vfs_fileid.c

index 1cbd857a357bc63581b628a3afe66634e8ca6eeb..8ab4ac37932b8c29ba1b97766eff93a808d13e0d 100644 (file)
@@ -190,7 +190,7 @@ static int fileid_connect(struct vfs_handle_struct *handle,
 
        data->device_mapping_fn = fileid_device_mapping_fsid;
        algorithm = lp_parm_const_string(SNUM(handle->conn),
-                                        "fileid", "algorithm",
+                                        "fileid", "mapping",
                                         "fsname");
        if (strcmp("fsname", algorithm) == 0) {
                data->device_mapping_fn = fileid_device_mapping_fsname;