From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SWp9y-0006Gb-Un for garchives@archives.gentoo.org; Tue, 22 May 2012 13:29:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEDF7E0BB9; Tue, 22 May 2012 13:29:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7E4D5E0BB9 for ; Tue, 22 May 2012 13:29:51 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F8EE1B401B for ; Tue, 22 May 2012 13:29:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0FE10E542A for ; Tue, 22 May 2012 13:29:49 +0000 (UTC) From: "Vadim Kuznetsov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vadim Kuznetsov" Message-ID: <1337693322.f366d6993fa2b058d6a15d3ccdaed45de7b70639.vadimk@gentoo> Subject: [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-modules/, app-emulation/vmware-modules/files/ X-VCS-Repository: proj/vmware X-VCS-Files: app-emulation/vmware-modules/files/264-d-make-root.patch app-emulation/vmware-modules/vmware-modules-264.3.ebuild X-VCS-Directories: app-emulation/vmware-modules/ app-emulation/vmware-modules/files/ X-VCS-Committer: vadimk X-VCS-Committer-Name: Vadim Kuznetsov X-VCS-Revision: f366d6993fa2b058d6a15d3ccdaed45de7b70639 X-VCS-Branch: master Date: Tue, 22 May 2012 13:29:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1a2916c9-3dd3-4f4b-8055-344b66ff30ff X-Archives-Hash: d8b94240197bbbd6b757580980162a59 commit: f366d6993fa2b058d6a15d3ccdaed45de7b70639 Author: Vadim Kuznetsov gentoo org> AuthorDate: Tue May 22 13:28:42 2012 +0000 Commit: Vadim Kuznetsov gentoo org> CommitDate: Tue May 22 13:28:42 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/vmware.git;a=3D= commit;h=3Df366d699 d_make_root patch for 3.4 kernel. Bug 411853. new file: app-emulation/vmware-modules/files/264-d-make-root.patch modified: app-emulation/vmware-modules/vmware-modules-264.3.ebuild --- .../vmware-modules/files/264-d-make-root.patch | 16 ++++++++++++++= ++ .../vmware-modules/vmware-modules-264.3.ebuild | 1 + 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/app-emulation/vmware-modules/files/264-d-make-root.patch b/a= pp-emulation/vmware-modules/files/264-d-make-root.patch new file mode 100644 index 0000000..a02e4ce --- /dev/null +++ b/app-emulation/vmware-modules/files/264-d-make-root.patch @@ -0,0 +1,16 @@ +diff --git a/vmblock-only/linux/filesystem.c b/vmblock-only/linux/filesy= stem.c +index b7c535e..a36a01e 100644 +--- a/vmblock-only/linux/filesystem.c ++++ b/vmblock-only/linux/filesystem.c +@@ -525,7 +525,11 @@ FsOpReadSuper(struct super_block *sb, // OUT: Super= block object + return -EINVAL; + } +=20 ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) + rootDentry =3D d_alloc_root(rootInode); ++#else ++ rootDentry =3D d_make_root(rootInode); ++#endif + if (!rootDentry) { + iput(rootInode); + return -ENOMEM; diff --git a/app-emulation/vmware-modules/vmware-modules-264.3.ebuild b/a= pp-emulation/vmware-modules/vmware-modules-264.3.ebuild index afef047..763796d 100644 --- a/app-emulation/vmware-modules/vmware-modules-264.3.ebuild +++ b/app-emulation/vmware-modules/vmware-modules-264.3.ebuild @@ -66,6 +66,7 @@ src_prepare() { epatch "${FILESDIR}/${PV_MAJOR}-3.2.0.patch" use pax_kernel && epatch "${FILESDIR}/hardened.patch" epatch "${FILESDIR}/${PV_MAJOR}-apic.patch" + epatch "${FILESDIR}/${PV_MAJOR}-d-make-root.patch" } =20 src_install() {