rpms/kernel/FC-6 linux-2.6-cifs-einval-on-readdir-fix.patch, NONE, 1.1 kernel-2.6.spec, 1.2807, 1.2808
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Oct 20 19:30:22 UTC 2006
Author: davej
Update of /cvs/dist/rpms/kernel/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv26743
Modified Files:
kernel-2.6.spec
Added Files:
linux-2.6-cifs-einval-on-readdir-fix.patch
Log Message:
Attempt to fix CIFS bug (#211070)
linux-2.6-cifs-einval-on-readdir-fix.patch:
readdir.c | 5 +++++
1 files changed, 5 insertions(+)
--- NEW FILE linux-2.6-cifs-einval-on-readdir-fix.patch ---
--- 1/fs/cifs/readdir.c 2006-10-19 06:56:44.000000000 -0500
+++ 2/fs/cifs/readdir.c 2006-10-19 13:52:26.000000000 -0500
@@ -1055,6 +1055,11 @@
we want to check for that here? */
rc = cifs_filldir(current_entry, file,
filldir, direntry, tmp_buf, max_len);
+ if(rc!=0) {
+ rc = 0;
+ break;
+ }
+
file->f_pos++;
if(file->f_pos ==
cifsFile->srch_inf.index_of_last_entry) {
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-6/kernel-2.6.spec,v
retrieving revision 1.2807
retrieving revision 1.2808
diff -u -r1.2807 -r1.2808
--- kernel-2.6.spec 20 Oct 2006 19:29:42 -0000 1.2807
+++ kernel-2.6.spec 20 Oct 2006 19:30:20 -0000 1.2808
@@ -467,6 +467,8 @@
Patch1450: linux-2.6-ext3-16tb-overflow-fixes.patch
Patch1451: linux-2.6-jbd-1k-crash-fix.patch
+Patch1460: linux-2.6-cifs-einval-on-readdir-fix.patch
+
# Device mapper / MD layer
Patch1500: linux-2.6-dm-mirroring.patch
@@ -1072,6 +1074,9 @@
# JBD crash with 1KB blocksize filesystems.
%patch1451 -p1
+# Fix CIFS
+%patch1460 -p1
+
# Device mapper / MD layer
# dm mirroring
%patch1500 -p1
@@ -2034,6 +2039,9 @@
%endif
%changelog
+* Fri Oct 20 2006 Dave Jones <davej at redhat.com>
+- Attempt to fix CIFS bug (#211070)
+
* Wed Oct 18 2006 David Woodhouse <dwmw2 at redhat.com>
- Split CAFÃ NAND driver from the MTD changes it needs
More information about the fedora-cvs-commits
mailing list