cifs: properly handle case where CIFSGetSrvInodeNumber fails
authorJeff Layton <jlayton@redhat.com>
Wed, 11 Feb 2009 13:08:26 +0000 (08:08 -0500)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 11 Mar 2011 15:18:51 +0000 (17:18 +0200)
...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