configfs: simplify the configfs_dirent_is_ready
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Aug 2021 05:43:55 +0000 (07:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 25 Aug 2021 05:43:55 +0000 (07:43 +0200)
commit899587c8d0908e5124fd074d52bf05b4b0633a79
tree3f14a6980138e814ea3ebaf75be040b59e042bec
parent417b962ddeca2b70eb72d28c87541bdad4e234f8
configfs: simplify the configfs_dirent_is_ready

Return the error directly instead of using a goto.

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