Pull configfs updates from Christoph Hellwig: "A fix from Nic for a race seen in production (including a stable tag). And while I'm sending you this I'm also sneaking in a trivial new helper from Bart so that we don't need inter-tree dependencies for the next merge window" * tag 'configfs-for-4.12' of git://git.infradead.org/users/hch/configfs: configfs: Introduce config_item_get_unless_zero() configfs: Fix race between create_link and configfs_rmdir
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -74,7 +74,8 @@ extern void config_item_init_type_name(struct config_item *item, · 73 unmodified lines | |||
| 74 | const char *name, | 74 | const char *name, |
| 75 | struct config_item_type *type); | 75 | struct config_item_type *type); |
| 76 | 76 | ||
| 77 | extern struct config_item * config_item_get(struct config_item *); | 77 | extern struct config_item *config_item_get(struct config_item *); |
| 78 | extern struct config_item *config_item_get_unless_zero(struct config_item *); | ||
| 78 | extern void config_item_put(struct config_item *); | 79 | extern void config_item_put(struct config_item *); |
| 79 | 80 | ||
| 80 | struct config_item_type { | 81 | struct config_item_type { |