mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
zfs: fix panics with invariant kernels from zfs_replay_setattr
This commit is contained in:
parent
7a1591c1b6
commit
f40d6217f2
1 changed files with 5 additions and 0 deletions
|
|
@ -859,7 +859,12 @@ zfs_replay_setattr(void *arg1, void *arg2, boolean_t byteswap)
|
|||
zfsvfs->z_fuid_replay = zfs_replay_fuid_domain(start, &start,
|
||||
lr->lr_uid, lr->lr_gid);
|
||||
|
||||
/*
|
||||
* Satisfy assertions.
|
||||
*/
|
||||
vn_seqc_write_begin(ZTOV(zp));
|
||||
error = zfs_setattr(zp, vap, 0, kcred);
|
||||
vn_seqc_write_end(ZTOV(zp));
|
||||
|
||||
zfs_fuid_info_free(zfsvfs->z_fuid_replay);
|
||||
zfsvfs->z_fuid_replay = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue