Repository navigation
Commit e5e69ab
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>1 parent d3d1fce commit e5e69ab
1 file changed
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1799 | 1799 | | |
1800 | 1800 | | |
1801 | 1801 | | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
1802 | 1807 | | |
1803 | 1808 | | |
1804 | 1809 | | |
| |||
2070 | 2075 | | |
2071 | 2076 | | |
2072 | 2077 | | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | | - | |
2079 | | - | |
2080 | | - | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
2084 | 2078 | | |
2085 | 2079 | | |
2086 | 2080 | | |
| |||
2726 | 2720 | | |
2727 | 2721 | | |
2728 | 2722 | | |
2729 | | - | |
2730 | | - | |
2731 | | - | |
2732 | 2723 | | |
2733 | 2724 | | |
2734 | 2725 | | |
| |||
0 commit comments