From: Jeff Layton Date: Sun, 25 Nov 2012 13:00:42 +0000 (-0500) Subject: cifs: make error on lack of a unc= option more explicit X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~54^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5e69abd058b3fcfd484dbe1c632347332cda9b6;p=pandora-kernel.git cifs: make error on lack of a unc= option more explicit Error out with a clear error message if there is no unc= option. The existing code doesn't handle this in a clear fashion, and the check for a UNCip option with no UNC string is just plain wrong. Later, we'll fix the code to not require a unc= option, but for now we need this to at least clarify why people are getting errors about DFS parsing. With this change we can also get rid of some later NULL pointer checks since we know the UNC and UNCip will never be NULL there. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed