diff options
Diffstat (limited to 'Documentation/filesystems/configfs/configfs.txt')
-rw-r--r-- | Documentation/filesystems/configfs/configfs.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/filesystems/configfs/configfs.txt b/Documentation/filesystems/configfs/configfs.txt index c4ff96b7c4e0..c3a7afb5eabf 100644 --- a/Documentation/filesystems/configfs/configfs.txt +++ b/Documentation/filesystems/configfs/configfs.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | configfs - Userspace-driven kernel object configuation. | 2 | configfs - Userspace-driven kernel object configuration. |
3 | 3 | ||
4 | Joel Becker <joel.becker@oracle.com> | 4 | Joel Becker <joel.becker@oracle.com> |
5 | 5 | ||
@@ -254,7 +254,7 @@ using the group _init() functions on the group. | |||
254 | 254 | ||
255 | Finally, when userspace calls rmdir(2) on the item or group, | 255 | Finally, when userspace calls rmdir(2) on the item or group, |
256 | ct_group_ops->drop_item() is called. As a config_group is also a | 256 | ct_group_ops->drop_item() is called. As a config_group is also a |
257 | config_item, it is not necessary for a seperate drop_group() method. | 257 | config_item, it is not necessary for a separate drop_group() method. |
258 | The subsystem must config_item_put() the reference that was initialized | 258 | The subsystem must config_item_put() the reference that was initialized |
259 | upon item allocation. If a subsystem has no work to do, it may omit | 259 | upon item allocation. If a subsystem has no work to do, it may omit |
260 | the ct_group_ops->drop_item() method, and configfs will call | 260 | the ct_group_ops->drop_item() method, and configfs will call |
@@ -406,7 +406,7 @@ that condition is met. | |||
406 | 406 | ||
407 | Far better would be an explicit action notifying the subsystem that the | 407 | Far better would be an explicit action notifying the subsystem that the |
408 | config_item is ready to go. More importantly, an explicit action allows | 408 | config_item is ready to go. More importantly, an explicit action allows |
409 | the subsystem to provide feedback as to whether the attibutes are | 409 | the subsystem to provide feedback as to whether the attributes are |
410 | initialized in a way that makes sense. configfs provides this as | 410 | initialized in a way that makes sense. configfs provides this as |
411 | committable items. | 411 | committable items. |
412 | 412 | ||
@@ -422,7 +422,7 @@ support mkdir(2) or rmdir(2) either. It only allows rename(2). The | |||
422 | "pending" directory does allow mkdir(2) and rmdir(2). An item is | 422 | "pending" directory does allow mkdir(2) and rmdir(2). An item is |
423 | created in the "pending" directory. Its attributes can be modified at | 423 | created in the "pending" directory. Its attributes can be modified at |
424 | will. Userspace commits the item by renaming it into the "live" | 424 | will. Userspace commits the item by renaming it into the "live" |
425 | directory. At this point, the subsystem recieves the ->commit_item() | 425 | directory. At this point, the subsystem receives the ->commit_item() |
426 | callback. If all required attributes are filled to satisfaction, the | 426 | callback. If all required attributes are filled to satisfaction, the |
427 | method returns zero and the item is moved to the "live" directory. | 427 | method returns zero and the item is moved to the "live" directory. |
428 | 428 | ||