configfs: Introduce config_item_get_unless_zero()
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 10 Feb 2017 01:28:50 +0000 (17:28 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Jun 2017 11:20:20 +0000 (13:20 +0200)
commit19e72d3abb63cb16d021a4066ce1a18880509e99
tree4d8228390a3f8b4697552bfa807232f71731bd8f
parentba80aa909c99802c428682c352b0ee0baac0acd3
configfs: Introduce config_item_get_unless_zero()

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
[hch: minor style tweak]
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/configfs/item.c
include/linux/configfs.h