zfs_putpages: assert that sa_bulk_update() must succeed
Same as the upstream does in r316927. MFC after: 1 week
This commit is contained in:
parent
04b7c6b337
commit
cf781c9b60
@ -4758,7 +4758,8 @@ zfs_putpages(struct vnode *vp, vm_page_t *ma, size_t len, int flags,
|
||||
&zp->z_pflags, 8);
|
||||
zfs_tstamp_update_setup(zp, CONTENT_MODIFIED, mtime, ctime,
|
||||
B_TRUE);
|
||||
(void)sa_bulk_update(zp->z_sa_hdl, bulk, count, tx);
|
||||
err = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx);
|
||||
ASSERT0(err);
|
||||
zfs_log_write(zfsvfs->z_log, tx, TX_WRITE, zp, off, len, 0);
|
||||
|
||||
zfs_vmobject_wlock(object);
|
||||
|
Loading…
x
Reference in New Issue
Block a user