aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_replay.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-03-03 11:29:15 -0800
committerBrian Behlendorf <[email protected]>2011-03-03 11:29:15 -0800
commit6742abf9ec5a2c0ca132951efa0dee85698ff9b8 (patch)
tree1dbc6561ee7e39048a51fafe2675303507b8b55e /module/zfs/zfs_replay.c
parentf4ea75d492139f397866b64512803191103d69bb (diff)
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.
Diffstat (limited to 'module/zfs/zfs_replay.c')
-rw-r--r--module/zfs/zfs_replay.c4
1 files 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);
/*