[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778297: marked as done (unblock: open-vm-tools/2:9.4.6-1770165-8)



Your message dated Sat, 14 Feb 2015 10:13:01 +0100
with message-id <20150214091301.GA27586@ugent.be>
and subject line Re: Bug#778297: unblock: open-vm-tools/2:9.4.6-1770165-8
has caused the Debian Bug report #778297,
regarding unblock: open-vm-tools/2:9.4.6-1770165-8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
778297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package open-vm-tools

open-vm-tools-dkms fails to build against the recent jessie kernel
headers, 2:9.4.6-1770165-8 fixes this by using d_u.d_alias instead of
d_alias, depending on the kernel version.

Patch is attached.

unblock open-vm-tools/2:9.4.6-1770165-8


Thanks,

Bernd

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F
diff --git a/debian/changelog b/debian/changelog
index f6b5705..6213450 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+open-vm-tools (2:9.4.6-1770165-8) unstable; urgency=medium
+
+  * [406817b6] Add patch to move from d_alias to d_u.d_alias.
+    Make open-vm-tools build with the recent jessie kernel again.
+    Thanks to Timo Metsala (Closes: #778293)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Fri, 13 Feb 2015 11:26:59 +0100
+
 open-vm-tools (2:9.4.6-1770165-7) unstable; urgency=medium
 
   * [8df5b4ac] Adding patch to fix CVE-2014-4199.
diff --git a/debian/patches/debian/d_alias_fix b/debian/patches/debian/d_alias_fix
new file mode 100644
index 0000000..7368349
--- /dev/null
+++ b/debian/patches/debian/d_alias_fix
@@ -0,0 +1,26 @@
+--- a/modules/linux/vmhgfs/inode.c
++++ b/modules/linux/vmhgfs/inode.c
+@@ -1838,7 +1838,11 @@ HgfsPermission(struct inode *inode,
+                            p,
+ #endif
+                            &inode->i_dentry,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 7)
+                            d_alias) {
++#else
++                           d_u.d_alias) {
++#endif
+          int dcount = compat_d_count(dentry);
+          if (dcount) {
+             LOG(4, ("Found %s %d \n", dentry->d_name.name, dcount));
+@@ -1891,7 +1895,11 @@ HgfsPermission(struct inode *inode,
+       /* Find a dentry with valid d_count. Refer bug 587879. */
+       list_for_each(pos, &inode->i_dentry) {
+          int dcount;
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 7)
+          struct dentry *dentry = list_entry(pos, struct dentry, d_alias);
++#else
++         struct dentry *dentry = list_entry(pos, struct dentry, d_u.d_alias);
++#endif
+          dcount = compat_d_count(dentry);
+          if (dcount) {
+             LOG(4, ("Found %s %d \n", (dentry)->d_name.name, dcount));
diff --git a/debian/patches/series b/debian/patches/series
index bb3ff13..044ee69 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+debian/d_alias_fix
 upstream/3a9f229_Harden-HostinfoOSData-against-PATH-attacks
 upstream/54780b8_Debian-guys-want-to-play-with-FreeBSD-kernels-and-Linux-userland
 

--- End Message ---
--- Begin Message ---
Hi,

On Fri, Feb 13, 2015 at 11:55:34AM +0100, Bernd Zeimetz wrote:
> Please unblock package open-vm-tools

Unblocked.

Cheers,

Ivo

--- End Message ---

Reply to: