cifs: properly handle case where CIFSGetSrvInodeNumber fails
authorJeff Layton <jlayton@redhat.com>
Wed, 11 Feb 2009 13:08:26 +0000 (08:08 -0500)
committerSteve French <sfrench@us.ibm.com>
Sat, 21 Feb 2009 03:37:08 +0000 (03:37 +0000)
...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: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found