]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/zfs_fuid.c
Modify vdev_elevator_switch() to use elevator_change()
[mirror_zfs.git] / module / zfs / zfs_fuid.c
index ca03373c7a601a77293c567b6bf8be93cf47f10d..debb5f86d377dc0f2d7c071c517c35822057e905 100644 (file)
@@ -415,10 +415,10 @@ zfs_fuid_map_id(zfs_sb_t *zsb, uint64_t fuid,
        }
        return (id);
 #else
-       if(type == ZFS_OWNER || type == ZFS_ACE_USER)
-               return (crgetuid(cr));
-       else
-               return (crgetgid(cr));
+       /*
+        * The Linux port only supports POSIX IDs, use the passed id.
+        */
+       return (fuid);
 #endif /* HAVE_KSID */
 }