configfs: factor dirent removal into helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Sep 2019 06:50:46 +0000 (08:50 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 11 Sep 2019 10:45:57 +0000 (12:45 +0200)
commit1cf7a003b044744c06dfa452cd136e71223b5569
treea4f5a278e653ac9e942ccd96d54a3463ac8c02f3
parent351e5d869e5ac10cb40c78b5f2d7dfc816ad4587
configfs: factor dirent removal into helpers

Lots of duplicated code that benefits from a little consolidation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/configfs/dir.c