Commit 3b0719dc authored by Federico Vaga's avatar Federico Vaga Committed by Federico Vaga

[USR-INC] sysfs: put attributes in a dedicated directory

This simplify user-space automatic tools that scans directory looking
for zio attributes.

The default attributes are still in the device root directory

This create an user-space incompatibility because all attributes will be
moved to a different directory.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 32597aef
......@@ -1275,7 +1275,7 @@ static int zattr_set_create(struct zio_obj_head *head,
err = -ENOMEM;
goto err_attrs;
}
group->name = "instance-attributes";
if (!zattr_set->std_zattr || !zattr_set->n_std_attr)
goto ext; /* Continue with extended attributes */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment