Files
mirror_zfs/module/os/freebsd/zfs
Ryan Moeller 3b89d9518d 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-08-30 16:01:09 -07:00
..
2021-07-27 16:05:47 -07:00
2021-05-24 14:42:45 -06:00
2020-04-14 11:36:28 -07:00
2021-07-26 12:07:39 -07:00
2021-07-26 12:07:26 -07:00
2021-06-22 21:53:45 -07:00
2021-06-22 21:53:45 -07:00
2021-07-26 12:07:53 -07:00
2021-07-22 10:22:14 -06:00