aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/trace_acl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/trace_acl.h')
-rw-r--r--include/sys/trace_acl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/trace_acl.h b/include/sys/trace_acl.h
index bd19c5a16..a49e8b4c0 100644
--- a/include/sys/trace_acl.h
+++ b/include/sys/trace_acl.h
@@ -99,8 +99,8 @@ DECLARE_EVENT_CLASS(zfs_ace_class,
__entry->z_is_ctldir = zn->z_is_ctldir;
__entry->z_is_stale = zn->z_is_stale;
- __entry->i_uid = zfs_uid_read(ZTOI(zn));
- __entry->i_gid = zfs_gid_read(ZTOI(zn));
+ __entry->i_uid = KUID_TO_SUID(ZTOI(zn)->i_uid);
+ __entry->i_gid = KGID_TO_SGID(ZTOI(zn)->i_gid);
__entry->i_ino = zn->z_inode.i_ino;
__entry->i_nlink = zn->z_inode.i_nlink;
__entry->i_version = zn->z_inode.i_version;