Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2013-11-08 08:46:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and      /work/SRC/openSUSE:Factory/.virtualbox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virtualbox"

Changes:
--------
--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes    2013-09-26 
20:07:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes       
2013-11-08 08:46:26.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Oct 24 23:34:41 UTC 2013 - [email protected]
+
+- added vbox-shared-folder.diff to fix shared folders (bnc#841673). 
+
+-------------------------------------------------------------------

New:
----
  vbox-shared-folder.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virtualbox.spec ++++++
--- /var/tmp/diff_new_pack.OFlHtJ/_old  2013-11-08 08:46:30.000000000 +0100
+++ /var/tmp/diff_new_pack.OFlHtJ/_new  2013-11-08 08:46:30.000000000 +0100
@@ -146,6 +146,8 @@
 Patch103:       vbox-disable-updates.diff
 #use pie/fPIE for setuid binaries (bnc#743143) 
 Patch104:       vbox-fpie.diff
+# Fix shared folders for 3.11, taken from upstream (bnc#841673)
+Patch105:       vbox-shared-folder.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         pwdutils permissions
 Requires:       %{name}-host-kmp = %version
@@ -270,6 +272,7 @@
 %patch101
 %patch103
 %patch104 -p1
+%patch105
 #copy user manual
 %__cp %{S:1} UserManual.pdf
 #copy kbuild config


++++++ vbox-shared-folder.diff ++++++
Index: src/VBox/Additions/linux/sharedfolders/dirops.c
===================================================================
--- src/VBox/Additions/linux/sharedfolders/dirops.c     (revision 48528)
+++ src/VBox/Additions/linux/sharedfolders/dirops.c     (revision 48529)
@@ -282,10 +282,13 @@
         }
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
-        err = dir_emit(ctx, d_name, strlen(d_name), fake_ino, DT_UNKNOWN);
+        if (!dir_emit(ctx, d_name, strlen(d_name), fake_ino, DT_UNKNOWN))
+        {
+            LogFunc(("dir_emit failed\n"));
+            return 0;
+        }
 #else
         err = filldir(opaque, d_name, strlen(d_name), dir->f_pos, fake_ino, 
DT_UNKNOWN);
-#endif
         if (err)
         {
             LogFunc(("filldir returned error %d\n", err));
@@ -293,6 +296,7 @@
                only when it runs out of space in opaque */
             return 0;
         }
+#endif
 
         dir->f_pos += 1;
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to