summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/zfs_dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/zfs_dir.c b/module/zfs/zfs_dir.c
index 355b0ef0a..199e58cf7 100644
--- a/module/zfs/zfs_dir.c
+++ b/module/zfs/zfs_dir.c
@@ -1038,6 +1038,7 @@ top:
va.va_mode = S_IFDIR | S_ISVTX | 0777;
zfs_fuid_map_ids(zp, cr, &va.va_uid, &va.va_gid);
+ va.va_dentry = NULL;
error = zfs_make_xattrdir(zp, &va, xipp, cr);
zfs_dirent_unlock(dl);