OSDN Git Service

staging: most: configfs: add code for link removal
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 3 Apr 2019 13:19:54 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:25:18 +0000 (13:25 +0200)
commit1a89eb0a8f6d5c25174b0b465cda6d5e480c5830
tree7a5c73edb30327108edbdf434af67cabe6170e17
parenta15f465caf09980c14dac115e3efb152f170351f
staging: most: configfs: add code for link removal

This patch adds code that cleans up established links whenever the destroy
attribute is set or if the config_item (directory) is being removed.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/configfs.c