fs: configfs: Factor out configfs_find_subsys_dentry()
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 11 Dec 2015 15:06:11 +0000 (16:06 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 21 Dec 2015 02:04:01 +0000 (18:04 -0800)
commit9a70adfff3379a6511483bd60dac06fda49b14a8
tree35c22451e949ee443aa569fde651625154845706
parent9fb434e7544b5013d1c2d8a2306f8b562cb52d80
fs: configfs: Factor out configfs_find_subsys_dentry()

configfs_depend_item() is quite complicated and should
be split up into smaller functions. This also allow to
share this code with other functions.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
fs/configfs/dir.c