From: Pavel Shilovsky Date: Wed, 19 Sep 2012 13:22:45 +0000 (-0700) Subject: CIFS: Fix fast lease break after open problem X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~66^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=233839b1df65a24c8b67b748fe7b18d86d0ad6d7;p=pandora-kernel.git CIFS: Fix fast lease break after open problem Now we walk though cifsFileInfo's list for every incoming lease break and look for an equivalent there. That approach misses lease breaks that come just after an open response - we don't have time to populate new cifsFileInfo structure to the list. Fix this by adding new list of pending opens and look for a lease there if we didn't find it in the list of cifsFileInfo structures. Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed