---
name: "sysfs_break_active_protection"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sysfs_break_active_protection"
---

# sysfs\_break\_active\_protection(9)

break “active” protection

## NAME

sysfs\_break\_active\_protection - break “active” protection

## SYNOPSIS

**struct kernfs\_node \* sysfs\_break\_active\_protection(struct kobject \*** *kobj***, const struct attribute \*** *attr***);**

## ARGUMENTS

*kobj*

The kernel object *attr* is associated with.

*attr*

The attribute to break the “active” protection for.

## DESCRIPTION

With sysfs, just like kernfs, deletion of an attribute is postponed until all active .**show** and .**store** callbacks have finished unless this function is called. Hence this function is useful in methods that implement self deletion.

## COPYRIGHT
