diff options
| -rw-r--r-- | fs/cifs/CHANGES | 1 | ||||
| -rw-r--r-- | fs/cifs/connect.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 53629b8bc8a8..64dd22239b21 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | Version 1.52 | 1 | Version 1.52 |
| 2 | ------------ | 2 | ------------ |
| 3 | Fix oops on second mount to server when null auth is used. | ||
| 3 | 4 | ||
| 4 | Version 1.51 | 5 | Version 1.51 |
| 5 | ------------ | 6 | ------------ |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 380ee9991f20..1102160f6661 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
| @@ -1790,7 +1790,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, | |||
| 1790 | 1790 | ||
| 1791 | if (volume_info.nullauth) { | 1791 | if (volume_info.nullauth) { |
| 1792 | cFYI(1, ("null user")); | 1792 | cFYI(1, ("null user")); |
| 1793 | volume_info.username = NULL; | 1793 | volume_info.username = ""; |
| 1794 | } else if (volume_info.username) { | 1794 | } else if (volume_info.username) { |
| 1795 | /* BB fixme parse for domain name here */ | 1795 | /* BB fixme parse for domain name here */ |
| 1796 | cFYI(1, ("Username: %s", volume_info.username)); | 1796 | cFYI(1, ("Username: %s", volume_info.username)); |
