[linux-cifs-client] Another fix for kernel 2.4.x
Yehuda Sadeh Weinraub
Yehuda.Sadeh at expand.com
Tue Sep 12 11:04:26 GMT 2006
Hi,
Since we don't allocate the cifs_sb, we mustn't free it either.
Yehuda Sadeh-Weinraub
diff --git a/fs/cifs/cifsfs24.c b/fs/cifs/cifsfs24.c
index 31c053c..60c7973 100644
--- a/fs/cifs/cifsfs24.c
+++ b/fs/cifs/cifsfs24.c
@@ -157,7 +157,6 @@ cifs_put_super(struct super_block *sb)
cERROR(1, ("cifs_umount failed with return code %d",
rc));
}
unload_nls(cifs_sb->local_nls);
- kfree(cifs_sb);
return;
}
More information about the linux-cifs-client
mailing list