zfs: add missing replay check to an assert in zfs_xvattr_set
This commit is contained in:
parent
f2e36d47e3
commit
b3b50e64d7
@ -833,7 +833,9 @@ zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx)
|
||||
xoap = xva_getxoptattr(xvap);
|
||||
ASSERT3P(xoap, !=, NULL);
|
||||
|
||||
ASSERT_VOP_IN_SEQC(ZTOV(zp));
|
||||
if (zp->z_zfsvfs->z_replay == B_FALSE) {
|
||||
ASSERT_VOP_IN_SEQC(ZTOV(zp));
|
||||
}
|
||||
|
||||
if (XVA_ISSET_REQ(xvap, XAT_CREATETIME)) {
|
||||
uint64_t times[2];
|
||||
|
Loading…
Reference in New Issue
Block a user