Files
mirror_zfs/module/os/freebsd/zfs
Ryan Moeller 81611683c8 FreeBSD: Don't remove SA xattr if not SA znode
We attempt to remove an existing SA xattr when setting a dir xattr, but
this only makes sense if the znode has been upgraded to the SA format.
Otherwise, we will hit an assert in zfs_sa_get_xattr.

Make sure this is an SA znode before attempting to remove the SA xattr.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12514
2021-09-14 15:11:56 -07:00
..
2021-05-27 22:31:57 -07:00
2020-04-14 11:36:28 -07:00
2021-06-24 13:12:36 -07:00
2021-09-14 12:09:35 -07:00
2021-09-14 12:09:35 -07:00
2021-09-14 12:40:45 -07:00