Author: jra Date: 2006-07-28 01:47:29 +0000 (Fri, 28 Jul 2006) New Revision: 66
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=linux-cifs-client&rev=66 Log: Make unlocks on close work correctly against W2K3, also allow signals to interrupt blocking locks on against Windows servers. I do this by storing a list of locks we've obtained on a fid, and remove them on close. I also allow unlocks across the whole file by unlocking those locks we have stored that are overlapped by the unlock request. This should make lots more Linux code work against Windows filestores. Jeremy. Modified: branches/linux-2.6-cifs-git-devel/fs/cifs/cifsglob.h branches/linux-2.6-cifs-git-devel/fs/cifs/file.c branches/linux-2.6-cifs-git-devel/fs/cifs/transport.c branches/linux-converged-for-old-kernels/fs/cifs/cifsglob.h branches/linux-converged-for-old-kernels/fs/cifs/file.c branches/linux-converged-for-old-kernels/fs/cifs/transport.c Changeset: Sorry, the patch is too large (455 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=linux-cifs-client&rev=66