Name

sysfs_update_file — update the modified timestamp on an object attribute.

Synopsis

int sysfs_update_file (struct kobject *  kobj,
 const struct attribute *  attr);

Arguments

kobj

object we're acting for.

attr

attribute descriptor.

Description

Also call dnotify for the dentry, which lots of userspace programs use.