Skip to content
Snippets Groups Projects
Commit a171eb5c authored by Shyam Prasad N's avatar Shyam Prasad N Committed by Steve French
Browse files

cifs: add missing return value check for cifs_sb_tlink


Whenever a tlink is obtained by cifs_sb_tlink, we need
to check that the tlink returned is not an error.
It was missing with the last change here.

Fixes: b3edef6b ("cifs: allow dumping keys for directories too")
Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarShyam Prasad N <sprasad@microsoft.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 19826558
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment