From 6742abf9ec5a2c0ca132951efa0dee85698ff9b8 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 3 Mar 2011 11:29:15 -0800 Subject: [PATCH] Use Linux ATTR_ versions The AT_ versions of these macros are used on Solaris and while they map to their Linux equivilants the code has been updated to use the ATTR_ versions. --- module/zfs/zfs_replay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/zfs/zfs_replay.c b/module/zfs/zfs_replay.c index a5018ee60..782d5582b 100644 --- a/module/zfs/zfs_replay.c +++ b/module/zfs/zfs_replay.c @@ -303,7 +303,7 @@ zfs_replay_create_acl(zfs_sb_t *zsb, lr_acl_create_t *lracl, boolean_t byteswap) return (error); xva_init(&xva); - zfs_init_vattr(&xva.xva_vattr, AT_MODE | AT_UID | AT_GID, + zfs_init_vattr(&xva.xva_vattr, ATTR_MODE | ATTR_UID | ATTR_GID, lr->lr_mode, lr->lr_uid, lr->lr_gid, lr->lr_rdev, lr->lr_foid); /* @@ -430,7 +430,7 @@ zfs_replay_create(zfs_sb_t *zsb, lr_create_t *lr, boolean_t byteswap) return (error); xva_init(&xva); - zfs_init_vattr(&xva.xva_vattr, AT_MODE | AT_UID | AT_GID, + zfs_init_vattr(&xva.xva_vattr, ATTR_MODE | ATTR_UID | ATTR_GID, lr->lr_mode, lr->lr_uid, lr->lr_gid, lr->lr_rdev, lr->lr_foid); /* -- 2.40.0