cifs: fix error handling in parse_DFS_referrals
authorJeff Layton <jlayton@redhat.com>
Thu, 14 May 2009 11:46:59 +0000 (07:46 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 14 May 2009 13:55:32 +0000 (13:55 +0000)
commitd8e2f53ac99f4ce7d63807a84f98d1b80df598cf
tree2b956d4bf048e9b72b99a84f589baedbdf6f757c
parent45d447406a19cbfd42720f066f156f4eb9d68801
cifs: fix error handling in parse_DFS_referrals

cifs_strndup_from_ucs returns NULL on error, not an ERR_PTR

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c