ksmbd: use goto instead of duplicating the resoure cleanup in ksmbd_open_fd
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 18 Jun 2021 01:29:56 +0000 (10:29 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 22 Jun 2021 07:11:34 +0000 (16:11 +0900)
commit1dfb8242e8d982d036399766c4af62ddc221e38d
treea788e34adedaab98a2a485986ffa9c667ad35aaf
parent6f3d5eeec744727bf017be3bb12e7fbf1c4438ed
ksmbd: use goto instead of duplicating the resoure cleanup in ksmbd_open_fd

Use goto instead of duplicating the resoure cleanup in ksmbd_open_fd.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/vfs_cache.c