Skip to content
Commit 950ec528 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: properly handle case where CIFSGetSrvInodeNumber fails



...if it does then we pass a pointer to an unintialized variable for
the inode number to cifs_new_inode. Have it pass a NULL pointer instead.

Also tweak the function prototypes to reduce the amount of casting.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 132ac7b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment