Print this page
*** NO COMMENTS ***

*** 457,476 **** if (vp == NULL) { error = ESTALE; goto out; } - #ifdef DEBUG - if (rfs3_do_post_op_attr) { va.va_mask = AT_ALL; vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - } else - vap = NULL; - #else - va.va_mask = AT_ALL; - vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - #endif bzero((caddr_t)&resp->resok.acl, sizeof (resp->resok.acl)); resp->resok.acl.vsa_mask = args->mask; --- 457,468 ----
*** 496,515 **** } if (error) goto out; - #ifdef DEBUG - if (rfs3_do_post_op_attr) { - va.va_mask = AT_ALL; - vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - } else - vap = NULL; - #else va.va_mask = AT_ALL; vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - #endif VN_RELE(vp); resp->status = NFS3_OK; vattr_to_post_op_attr(vap, &resp->resok.attr); --- 488,499 ----
*** 586,623 **** goto out1; } (void) VOP_RWLOCK(vp, V_WRITELOCK_TRUE, NULL); - #ifdef DEBUG - if (rfs3_do_post_op_attr) { va.va_mask = AT_ALL; vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - } else - vap = NULL; - #else - va.va_mask = AT_ALL; - vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - #endif if (rdonly(exi, req) || vn_is_readonly(vp)) { resp->status = NFS3ERR_ROFS; goto out1; } error = VOP_SETSECATTR(vp, &args->acl, 0, cr, NULL); - #ifdef DEBUG - if (rfs3_do_post_op_attr) { - va.va_mask = AT_ALL; - vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - } else - vap = NULL; - #else va.va_mask = AT_ALL; vap = rfs4_delegated_getattr(vp, &va, 0, cr) ? NULL : &va; - #endif if (error) goto out; VOP_RWUNLOCK(vp, V_WRITELOCK_TRUE, NULL); --- 570,591 ----