diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-11-25 14:00:42 +0100 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-12-05 20:13:12 +0100 |
commit | e5e69abd058b3fcfd484dbe1c632347332cda9b6 (patch) | |
tree | 9661d41d54584dba6442e8bac802eca587a3fd5c /fs/cifs/smb2ops.c | |
parent | cifs: don't override the uid/gid in getattr when cifsacl is enabled (diff) | |
download | linux-e5e69abd058b3fcfd484dbe1c632347332cda9b6.tar.xz linux-e5e69abd058b3fcfd484dbe1c632347332cda9b6.zip |
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 <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
0 files changed, 0 insertions, 0 deletions