GNOME Bugzilla – Bug 771483
Remove some redundant code
Last modified: 2016-10-03 14:48:47 UTC
There is some redundant code in smb backend which can be removed, see the following patches...
Created attachment 335619 [details] [review] smb: Remove some redundant code Remove some ancient comments, dead code, or duplicated code.
Created attachment 335620 [details] [review] smb: Remove redundant cache functionality I'm convinced that our own server cache is not needed, because we are not using it in no way. Let's remove the cache and let samba use its internal cache instead: https://git.samba.org/cifs-utils.git/?p=samba.git;a=blob;f=source3/libsmb/libsmb_cache.c
Review of attachment 335619 [details] [review]: I take the blame for adding these comments so yes, feel free to remove them :-)
Review of attachment 335620 [details] [review]: Right, this seems to be more important in smbbrowse than here and I don't really remember why it was ever here.
Thanks for your reviews! Can we look forward to your return in GVfs upstream?
Attachment 335619 [details] pushed as daeed46 - smb: Remove some redundant code Attachment 335620 [details] pushed as bc4ade5 - smb: Remove redundant cache functionality