cifsd: remove useless error handling in ksmbd_vfs_read
authorHyunchul Lee <hyc.lee@gmail.com>
Thu, 1 Apr 2021 08:47:19 +0000 (17:47 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 11 May 2021 00:15:34 +0000 (19:15 -0500)
commit8044ee8e64b4fdb068e504ec3ade597d1ccad456
tree57dec16a074fdab071ce074172815e05ab567144
parentd2f72ed8fa0c0e6c90af8ee0bbb39d41ab2d5465
cifsd: remove useless error handling in ksmbd_vfs_read

dentry->d_inode never happen to be NULL if we hold the dentry.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/vfs.c