summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Telka <marcel@telka.sk>2020-02-11 06:26:38 +0100
committerDan McDonald <danmcd@joyent.com>2020-02-11 09:40:12 -0500
commitd5cb55e4df73e14ab5a6a4266b32230c8e73e54e (patch)
tree7f5e7e3ffc418cc20fef6ff8fcb2727766782a37
parent19ee9cd1f5161e227951200cab5ecbff45fd5d71 (diff)
downloadillumos-joyent-d5cb55e4df73e14ab5a6a4266b32230c8e73e54e.tar.gz
12294 rfs3_readdir()/rfs3_readdirplus(): Duplicate vattr_to_post_op_attr() call
Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/fs/nfs/nfs3_srv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/nfs/nfs3_srv.c b/usr/src/uts/common/fs/nfs/nfs3_srv.c
index 89d65a4d0f..1368da2199 100644
--- a/usr/src/uts/common/fs/nfs/nfs3_srv.c
+++ b/usr/src/uts/common/fs/nfs/nfs3_srv.c
@@ -3384,7 +3384,6 @@ out1:
VOP_RWUNLOCK(vp, V_WRITELOCK_FALSE, NULL);
VN_RELE(vp);
}
- vattr_to_post_op_attr(vap, &resp->resfail.dir_attributes);
}
void *
@@ -3782,8 +3781,6 @@ out1:
if (namlen != NULL)
kmem_free(namlen, args->dircount);
-
- vattr_to_post_op_attr(vap, &resp->resfail.dir_attributes);
}
void *