Commit cfc71961 authored by Steve French's avatar Steve French Committed by Steve French

Fix oops in mount error path when unload_nls called with bad pointer.

parent 3c59d320
Version 0.98
------------
Fix hang in commit_write during reconnection of open files under heavy load.
Fix unload_nls oops in a mount failure path.
Version 0.97
------------
Fix byte range locking bug (endian problem) causing bad offset and
......
......@@ -81,6 +81,9 @@ cifs_read_super(struct super_block *sb, void *data,
cifs_sb = CIFS_SB(sb);
if(cifs_sb == NULL)
return -ENOMEM;
else
memset(cifs_sb,0,sizeof(struct cifs_sb_info));
rc = cifs_mount(sb, cifs_sb, data, devname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment