History

Merge tag 'configfs-for-4.12' of git://git.infradead.org/users/hch/configfs

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

Linus Torvalds committed 9 years ago

Commit ab2789b2 parents 20223f0 19e72d33 files · +11 −3Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/configfs.h+2−1
@@ -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
77extern struct config_item * config_item_get(struct config_item *);77extern struct config_item *config_item_get(struct config_item *);
78extern struct config_item *config_item_get_unless_zero(struct config_item *);
78extern void config_item_put(struct config_item *);79extern void config_item_put(struct config_item *);
79 80
80struct config_item_type {81struct config_item_type {