X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Fzfs_fuid.c;h=debb5f86d377dc0f2d7c071c517c35822057e905;hb=1c24b699b0c7590e135f4701b50a4c933ebe0499;hp=ca03373c7a601a77293c567b6bf8be93cf47f10d;hpb=037849f854c511d86e3564ed7000e6c6472d6f70;p=zfs.git diff --git a/module/zfs/zfs_fuid.c b/module/zfs/zfs_fuid.c index ca03373..debb5f8 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 */ }