]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerNamjae Jeon <namjae.jeon@samsung.com>
Mon, 12 Apr 2021 05:31:53 +0000 (14:31 +0900)
commit5c98a82d47a896b91f9c6c21b866c0f88270a9ab
tree0c1f5881b33939c968f965bedb5561f43ced1993
parentba07d8507733e273374c857241cfd83cb8502492
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