···832832 if (err)833833 goto out_dput;834834835835+ /*836836+ * Try to remove POSIX ACL xattrs from workdir. We are good if:837837+ *838838+ * a) success (there was a POSIX ACL xattr and was removed)839839+ * b) -ENODATA (there was no POSIX ACL xattr)840840+ * c) -EOPNOTSUPP (POSIX ACL xattrs are not supported)841841+ *842842+ * There are various other error values that could effectively843843+ * mean that the xattr doesn't exist (e.g. -ERANGE is returned844844+ * if the xattr name is too long), but the set of filesystems845845+ * allowed as upper are limited to "normal" ones, where checking846846+ * for the above two errors is sufficient.847847+ */835848 err = vfs_removexattr(work, XATTR_NAME_POSIX_ACL_DEFAULT);836849 if (err && err != -ENODATA && err != -EOPNOTSUPP)837850 goto out_dput;