X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=module%2Fzfs%2Fzfs_fuid.c;h=debb5f86d377dc0f2d7c071c517c35822057e905;hb=6d1d976b2c2c6b80de75a480c998466068066846;hp=ca03373c7a601a77293c567b6bf8be93cf47f10d;hpb=037849f854c511d86e3564ed7000e6c6472d6f70;p=mirror_zfs.git diff --git a/module/zfs/zfs_fuid.c b/module/zfs/zfs_fuid.c index ca03373c7..debb5f86d 100644 --- a/module/zfs/zfs_fuid.c +++ b/module/zfs/zfs_fuid.c @@ -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 */ }