Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 285998
Collapse All | Expand All

(-)a/metadata/cache/sys-kernel/openvz-sources-2.6.18.028.064.7 (+22 lines)
Line 0 Link Here
1
!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
2
!build? ( >=sys-libs/ncurses-5.2 sys-devel/make ) virtual/dev-manager
3
2.6.18.028.064.7
4
mirror://kernel/linux/kernel/v./linux-2.6.18.tar.bz2 http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab064.7/patches/patch-128.2.1.el5.028stab064.7-combined.gz
5
binchecks strip
6
http://www.openvz.org
7
GPL-2
8
Full sources including OpenVZ patchset for the 2.6.18 kernel tree
9
~amd64 ~ia64 ~ppc64 ~sparc ~x86
10
eutils kernel-2 multilib portability toolchain-funcs versionator
11
symlink build
12
13
14
virtual/linux-sources
15
16
17
compile install postinst preinst setup unpack
18
19
20
21
22
(-)a/sys-kernel/openvz-sources/ChangeLog (+9 lines)
Lines 2-7 Link Here
2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.114 2009/07/22 05:54:03 pva Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.114 2009/07/22 05:54:03 pva Exp $
4
4
5
  22 Sep 2009; Jeff Mitchell <funtoo@jefferai.org>
6
  +openvz-sources-2.6.18.028.064.7.ebuild,
7
  +files/openvz-sources-2.6.18.028.064.7-syscall.patch,
8
  +files/openvz-sources-2.6.18.028.064.7-cifs-buildfix.patch,
9
  +files/openvz-sources-2.6.18.028.064.7-bridgemac.patch:
10
  Updated openvz-sources fixes multiple CVEs (bug #285998).
11
  Includes syscall patch (bug #204878), CIFS-build-fix patch,
12
  and bridge fix patch.
13
5
  22 Jul 2009; Peter Volkov <pva@gentoo.org>
14
  22 Jul 2009; Peter Volkov <pva@gentoo.org>
6
  openvz-sources-2.6.27.2.1-r2.ebuild,
15
  openvz-sources-2.6.27.2.1-r2.ebuild,
7
  +files/openvz-sources-2.6.27.2.1-SLAB.patch:
16
  +files/openvz-sources-2.6.27.2.1-SLAB.patch:
(-)a/sys-kernel/openvz-sources/Manifest (-1 / +6 lines)
Lines 6-11 AUX openvz-sources-2.6.18.028.057.2-missed-PATH_MAX-sumversion.c.patch 379 RMD16 Link Here
6
AUX openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch 365 RMD160 1d7dea5718e0e889c8fe6c6c6cfbd3636fa91ad3 SHA1 5fb1d346e362cb8cd54b4f02283ce185782f7d28 SHA256 c7d3ae9adfe7464ebe7d25948978392c244d2021cda678e30a316295a96ec4ff
6
AUX openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch 365 RMD160 1d7dea5718e0e889c8fe6c6c6cfbd3636fa91ad3 SHA1 5fb1d346e362cb8cd54b4f02283ce185782f7d28 SHA256 c7d3ae9adfe7464ebe7d25948978392c244d2021cda678e30a316295a96ec4ff
7
AUX openvz-sources-2.6.18.028.057.2-utimenstat.patch 528 RMD160 1edc34e5e0fddd8c0960b8dcbc54d0f0f486a0fa SHA1 26190020c24645e71c10c4da8ab79f120be946e2 SHA256 79cbf231ecea1eb45d94c5f2ef38082e8c9745f25d4fc6e53fa46fb69631dd25
7
AUX openvz-sources-2.6.18.028.057.2-utimenstat.patch 528 RMD160 1edc34e5e0fddd8c0960b8dcbc54d0f0f486a0fa SHA1 26190020c24645e71c10c4da8ab79f120be946e2 SHA256 79cbf231ecea1eb45d94c5f2ef38082e8c9745f25d4fc6e53fa46fb69631dd25
8
AUX openvz-sources-2.6.18.028.059.6-proper-utimensat.patch 9045 RMD160 20347f1a11d170bd74a656394894a82e79434c12 SHA1 8b348767d4f4f7aaaba04d58182d6fb5b1b17170 SHA256 a90da0c995040f86fc559c7bfebe27db96eb3423c919f034acf710b9dfff97cb
8
AUX openvz-sources-2.6.18.028.059.6-proper-utimensat.patch 9045 RMD160 20347f1a11d170bd74a656394894a82e79434c12 SHA1 8b348767d4f4f7aaaba04d58182d6fb5b1b17170 SHA256 a90da0c995040f86fc559c7bfebe27db96eb3423c919f034acf710b9dfff97cb
9
AUX openvz-sources-2.6.18.028.064.7-bridgemac.patch 514 RMD160 bdd04c4dc86c79b91b7675d8c59b569483e444c4 SHA1 ef092a68c4dab7dc7284b2be8cc74b1510def485 SHA256 250bc852aedca35624d9352c1d693e147812504b2799cd2ba20f0c9763e61908
10
AUX openvz-sources-2.6.18.028.064.7-cifs-buildfix.patch 24766 RMD160 eb1bc2fa2455aef6d6fec88ef393cc295f8c1761 SHA1 d41347ea67fb684243760c6c93a07cbc74ca9049 SHA256 581a2366559f077aabe1d7dcd1e64b312d537d2ffff1b94c609ef2d3980e2973
11
AUX openvz-sources-2.6.18.028.064.7-syscall.patch 1076 RMD160 3ea449e7e7c53e94e3723c16f3715ee3651eafd4 SHA1 f636eec4cd72183f5581420aef35c139ffce1971 SHA256 89a2111ef8e0cff2b078a025b43a685c3a8d7bb7dab1c6f2991ef3b13d8051ee
9
AUX openvz-sources-2.6.27.2.1-SLAB.patch 3849 RMD160 dda122170b3124c9ed1bc92b39ec07eee0651d76 SHA1 9c36e56271500b9974fc56bb937a0defeef80fb8 SHA256 d96fe971332c095ebabe3875403389aca561be86eee8123f6e15e6bf61a2734d
12
AUX openvz-sources-2.6.27.2.1-SLAB.patch 3849 RMD160 dda122170b3124c9ed1bc92b39ec07eee0651d76 SHA1 9c36e56271500b9974fc56bb937a0defeef80fb8 SHA256 d96fe971332c095ebabe3875403389aca561be86eee8123f6e15e6bf61a2734d
10
AUX openvz-sources-2.6.27.2.1-avoid-double-free.patch 746 RMD160 56c953b85e61a9d92fb3fa9afa97f9278713b223 SHA1 b092cba443192d441ed1260e78a7d6846db0bc3c SHA256 2ebd2b63b1acdd09933420fd2d7beec751b4363c513a4192a9bdab3550fa0f7b
13
AUX openvz-sources-2.6.27.2.1-avoid-double-free.patch 746 RMD160 56c953b85e61a9d92fb3fa9afa97f9278713b223 SHA1 b092cba443192d441ed1260e78a7d6846db0bc3c SHA256 2ebd2b63b1acdd09933420fd2d7beec751b4363c513a4192a9bdab3550fa0f7b
11
AUX openvz-sources-2.6.27.2.1-ban-netns-creation.patch 1451 RMD160 fb5dd54761508624a3d9a7567206054b55549c46 SHA1 57f6de1ca6bbf9854739b976191de6f12b04c411 SHA256 5ac15c60dbfca7abcb5644c013270270eec375f6197bdf36f3006e38010561f7
14
AUX openvz-sources-2.6.27.2.1-ban-netns-creation.patch 1451 RMD160 fb5dd54761508624a3d9a7567206054b55549c46 SHA1 57f6de1ca6bbf9854739b976191de6f12b04c411 SHA256 5ac15c60dbfca7abcb5644c013270270eec375f6197bdf36f3006e38010561f7
Lines 17-30 DIST linux-2.6.18.tar.bz2 41863580 RMD160 f92283f956880676bfb1f1d5288325461e4e02 Link Here
17
DIST linux-2.6.24.tar.bz2 46737783 RMD160 0e5194c69c3d82c41ece689c4f84e638f8776d34 SHA1 351aebc784a5395fe4c92d1e514a89680482f7e2 SHA256 413c64fbbcf81244cb5571be4963644a1e81166a2b0f008a016528363b65c5d3
20
DIST linux-2.6.24.tar.bz2 46737783 RMD160 0e5194c69c3d82c41ece689c4f84e638f8776d34 SHA1 351aebc784a5395fe4c92d1e514a89680482f7e2 SHA256 413c64fbbcf81244cb5571be4963644a1e81166a2b0f008a016528363b65c5d3
18
DIST linux-2.6.27.tar.bz2 50355835 RMD160 5be4595ad824a4af67c1ec0c692838ad0c31f0c0 SHA1 8425ec3be2652f9d511911ff4fcf99039d4574be SHA256 0e99bf9e83f4d1ae0c656741a84dfddfa9c4d2469cf35475f5939d02dc3e4393
21
DIST linux-2.6.27.tar.bz2 50355835 RMD160 5be4595ad824a4af67c1ec0c692838ad0c31f0c0 SHA1 8425ec3be2652f9d511911ff4fcf99039d4574be SHA256 0e99bf9e83f4d1ae0c656741a84dfddfa9c4d2469cf35475f5939d02dc3e4393
19
DIST patch-128.1.1.el5.028stab062.3-combined.gz 13182498 RMD160 4b93a91685384a0f284a28a6f3368d4a9f6d1aa4 SHA1 047f73245a1500b2b5f362f343a0d48b417a2510 SHA256 2371355ffd2c3ee60598a6d663f0e5a3f7eb75f0e32707bf9ee88a14eda67e0a
22
DIST patch-128.1.1.el5.028stab062.3-combined.gz 13182498 RMD160 4b93a91685384a0f284a28a6f3368d4a9f6d1aa4 SHA1 047f73245a1500b2b5f362f343a0d48b417a2510 SHA256 2371355ffd2c3ee60598a6d663f0e5a3f7eb75f0e32707bf9ee88a14eda67e0a
23
DIST patch-128.2.1.el5.028stab064.7-combined.gz 13207197 RMD160 06db8683c8e10b4053428e7ea5cc9f49cc1c8a3d SHA1 fc1bb4751bee61555068d19d55fd5e6fc5afc7f5 SHA256 1530498e563f34961a65a72e3f2dc47a52f68af5bd5c2d11b8aa86fca2bf8c63
20
DIST patch-briullov.1-combined.gz 919351 RMD160 5d49786c302a0e50b8d965037b4a28c2bd6c97b8 SHA1 10ecb9f6b89e3c68939383ef4ee8f069ad4abd60 SHA256 ea3369b84299b82b3983d48154d86a8275335f03d1c07cd15db8b6adc41bf4d7
24
DIST patch-briullov.1-combined.gz 919351 RMD160 5d49786c302a0e50b8d965037b4a28c2bd6c97b8 SHA1 10ecb9f6b89e3c68939383ef4ee8f069ad4abd60 SHA256 ea3369b84299b82b3983d48154d86a8275335f03d1c07cd15db8b6adc41bf4d7
21
DIST patch-ovz009.1-combined.gz 874874 RMD160 b57c976485565c71e6495f24e7f8cf8d11507c2e SHA1 cffbee2b4bc41e0919572ce6971c41d45be6c56a SHA256 1d837a763bb01c1b0d9e4007f2376a05c73d7174c48624fb467042ccebdff0a8
25
DIST patch-ovz009.1-combined.gz 874874 RMD160 b57c976485565c71e6495f24e7f8cf8d11507c2e SHA1 cffbee2b4bc41e0919572ce6971c41d45be6c56a SHA256 1d837a763bb01c1b0d9e4007f2376a05c73d7174c48624fb467042ccebdff0a8
22
DIST patch-ovz028stab056.1-combined.gz 1167989 RMD160 7953e020db894ddd9c6e61b6cbbedea0179ab09b SHA1 105ef675c10ed7063309dd636d2580a5cc3c05dd SHA256 2a99359fcf8af8f4b5ffd56011a63c2300086f944784ff855a9f7ecf46434df9
26
DIST patch-ovz028stab056.1-combined.gz 1167989 RMD160 7953e020db894ddd9c6e61b6cbbedea0179ab09b SHA1 105ef675c10ed7063309dd636d2580a5cc3c05dd SHA256 2a99359fcf8af8f4b5ffd56011a63c2300086f944784ff855a9f7ecf46434df9
23
EBUILD openvz-sources-2.6.18.028.056.1.ebuild 1765 RMD160 1c54e78e69e1868ffe0219fd0d7af07cf0ce52c1 SHA1 7eac1758a9b24f69c7475041d47ae761019a6700 SHA256 a9209ad3c1a16dc223a5c823fbf3ea827a2b7f027c8910705b6994f67c538c63
27
EBUILD openvz-sources-2.6.18.028.056.1.ebuild 1765 RMD160 1c54e78e69e1868ffe0219fd0d7af07cf0ce52c1 SHA1 7eac1758a9b24f69c7475041d47ae761019a6700 SHA256 a9209ad3c1a16dc223a5c823fbf3ea827a2b7f027c8910705b6994f67c538c63
24
EBUILD openvz-sources-2.6.18.028.062.3.ebuild 1785 RMD160 7d317ca4f15e3e3f2b52171f82f9afa49fedea3f SHA1 cf71a1faa111976c08d9a4305605d9260b5ac880 SHA256 09af10dbcfa0508611ef9dc162a693aff46219a0d1bbd5bb34f410d38052caa2
28
EBUILD openvz-sources-2.6.18.028.062.3.ebuild 1785 RMD160 7d317ca4f15e3e3f2b52171f82f9afa49fedea3f SHA1 cf71a1faa111976c08d9a4305605d9260b5ac880 SHA256 09af10dbcfa0508611ef9dc162a693aff46219a0d1bbd5bb34f410d38052caa2
29
EBUILD openvz-sources-2.6.18.028.064.7.ebuild 1902 RMD160 16f102596321e976a75e300f5370926c6d1ac43d SHA1 5520986a364c39f69ac850fd1ec13ab8a1a406f1 SHA256 c40ac1b62510040ffaadc2793e2e2dd82a8d906c71369850177d5fa38265e5b8
25
EBUILD openvz-sources-2.6.24.009.1-r2.ebuild 1371 RMD160 869f8c26e53e972ea5a825886780c971de955b6e SHA1 6f17e063a234b21e67d9b22b2d7b1e33b68d19b4 SHA256 732bb94e4aecdee17a479b2c4a84889428d2ba6579ce03541b37b7d570c5b396
30
EBUILD openvz-sources-2.6.24.009.1-r2.ebuild 1371 RMD160 869f8c26e53e972ea5a825886780c971de955b6e SHA1 6f17e063a234b21e67d9b22b2d7b1e33b68d19b4 SHA256 732bb94e4aecdee17a479b2c4a84889428d2ba6579ce03541b37b7d570c5b396
26
EBUILD openvz-sources-2.6.27.2.1-r1.ebuild 1666 RMD160 85e72630cb4aec42ceba49ed6587f5cd1a65818f SHA1 02b0149ee92f31f1b38efd3b8d97eb7ed7a6be1c SHA256 8acd16fc39184e6387a188d9caf5532d6de081fce63e7206326bafd9fd84b76e
31
EBUILD openvz-sources-2.6.27.2.1-r1.ebuild 1666 RMD160 85e72630cb4aec42ceba49ed6587f5cd1a65818f SHA1 02b0149ee92f31f1b38efd3b8d97eb7ed7a6be1c SHA256 8acd16fc39184e6387a188d9caf5532d6de081fce63e7206326bafd9fd84b76e
27
EBUILD openvz-sources-2.6.27.2.1-r2.ebuild 2165 RMD160 4462d4bf8cbc84bd65c1aa7e5538da765e80deed SHA1 74b5210696dcedde80f2a2b70aa41ef6c03fdf0f SHA256 88aacda1a9d9120d77dece68b8f28aea531c6d0e28854e043652fc035c6d56aa
32
EBUILD openvz-sources-2.6.27.2.1-r2.ebuild 2165 RMD160 4462d4bf8cbc84bd65c1aa7e5538da765e80deed SHA1 74b5210696dcedde80f2a2b70aa41ef6c03fdf0f SHA256 88aacda1a9d9120d77dece68b8f28aea531c6d0e28854e043652fc035c6d56aa
28
EBUILD openvz-sources-2.6.27.9999.ebuild 936 RMD160 ce059496362ca23f57b6f75e6a844d3a8c5c164a SHA1 aad5e0a3891e1d03a45fa2ff64d2df39c1bdf777 SHA256 2bebffda43407ddb1f516b824e744778ff0e5e317ebfed9bddb3072f4beeac9b
33
EBUILD openvz-sources-2.6.27.9999.ebuild 936 RMD160 ce059496362ca23f57b6f75e6a844d3a8c5c164a SHA1 aad5e0a3891e1d03a45fa2ff64d2df39c1bdf777 SHA256 2bebffda43407ddb1f516b824e744778ff0e5e317ebfed9bddb3072f4beeac9b
29
MISC ChangeLog 28277 RMD160 093f1bca3ccd96c202bee5a2e446db11652d6eb5 SHA1 995ca224d0e5de03ab458942fe778233aa024714 SHA256 91f548fc86ed7369b3ed4599ccb3f6a5eb8d34369ae7833b14121681ee5eadb2
34
MISC ChangeLog 28694 RMD160 6b7b54b3b9ea4a3a98fdad6e9695f7b3387ce0b4 SHA1 d9ca42889cf852e63c9f3603fc0ba0d5e5ec13df SHA256 ae5681c5dafea161d10c292062b65a375d3efae9f74ce50ff41589e41cc59230
30
MISC metadata.xml 554 RMD160 0d62a03694a7c0e0caa538a603b3a41916451887 SHA1 d4d18f1c2c52425a1a819ac0d76ff1c906853047 SHA256 78f7ce5323a1a18773d5a6a01cffcc729fb51f4a667b5d2df37450907a007a31
35
MISC metadata.xml 554 RMD160 0d62a03694a7c0e0caa538a603b3a41916451887 SHA1 d4d18f1c2c52425a1a819ac0d76ff1c906853047 SHA256 78f7ce5323a1a18773d5a6a01cffcc729fb51f4a667b5d2df37450907a007a31
(-)a/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.064.7-cifs-buildfix.patch (+669 lines)
Line 0 Link Here
1
diff -urN linux/net/bridge/br_stp_if.c drobtmp/net/bridge/br_stp_if.c
2
--- linux/net/bridge/br_stp_if.c	2009-06-20 01:46:25.000000000 -0600
Line 0 Link Here
1
028stab062.3 -- buildfix
2
3
The number of issues during move up to 028stab062.3
4
5
1) There is no f_path.dentry in file struct. Use f_dentry former.
6
2) IOMMU_HELPER depends on a widen number of vars.
7
3) PDAudioCF sound card is plainly broken. Mark it that.
8
4) Xen PV-ON-HVM is broken as well if base Xen support is not
9
   enabled. Don't turn on XEN_PV_ON_HVM config option without
10
   Xen support in general.
11
5) ACPI_PROCESSOR config should be built in. Not module.
12
6) There is no zero_user_page but zero_user function.
13
14
Closes http://bugzilla.openvz.org/show_bug.cgi?id=1279
15
16
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
17
---
18
 arch/x86_64/Kconfig                           |    2 
19
 fs/cifs/cifsfs.c                              |    6 -
20
 fs/cifs/fcntl.c                               |    4 -
21
 fs/cifs/file.c                                |   86 +++++++++++++-------------
22
 fs/cifs/readdir.c                             |   28 ++++----
23
 fs/ntfs/aops.c                                |    2 
24
 fs/ntfs/compress.c                            |    2 
25
 samples/tracepoints/tracepoint-probe-sample.c |    6 -
26
 sound/oss/dmasound/dmasound_core.c            |    4 -
27
 sound/oss/msnd_pinnacle.c                     |    4 -
28
 sound/oss/soundcard.c                         |    8 +-
29
 sound/pcmcia/Kconfig                          |    2 
30
 sound/sound_firmware.c                        |    2 
31
 13 files changed, 78 insertions(+), 78 deletions(-)
32
33
Index: linux-2.6.18-openvz/arch/x86_64/Kconfig
34
=====================================================================
35
--- linux-2.6.18-openvz.orig/arch/x86_64/Kconfig
36
+++ linux-2.6.18-openvz/arch/x86_64/Kconfig
37
@@ -532,7 +532,7 @@ config AMD_IOMMU
38
 config IOMMU_HELPER
39
 	bool "IOMMU Helper functions"
40
 	default n
41
-	depends on (AMD_IOMMU || GART_IOMMU)
42
+	depends on (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
43
 
44
 # need this always selected by IOMMU for the VIA workaround
45
 config SWIOTLB
46
Index: linux-2.6.18-openvz/fs/cifs/cifsfs.c
47
=====================================================================
48
--- linux-2.6.18-openvz.orig/fs/cifs/cifsfs.c
49
+++ linux-2.6.18-openvz/fs/cifs/cifsfs.c
50
@@ -674,7 +674,7 @@ cifs_get_sb(struct file_system_type *fs_
51
 static ssize_t cifs_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
52
 				   unsigned long nr_segs, loff_t pos)
53
 {
54
-	struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode;
55
+	struct inode *inode = iocb->ki_filp->f_dentry->d_inode;
56
 	ssize_t written;
57
 
58
 	written = generic_file_aio_write(iocb, iov, nr_segs, pos);
59
@@ -714,9 +714,9 @@ static loff_t cifs_llseek(struct file *f
60
 		   way so we must seek to end on non-oplocked files by
61
 		   setting the revalidate time to zero */
62
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 19)
63
-		CIFS_I(file->f_path.dentry->d_inode)->time = 0;
64
+		CIFS_I(file->f_dentry->d_inode)->time = 0;
65
 
66
-		retval = cifs_revalidate(file->f_path.dentry);
67
+		retval = cifs_revalidate(file->f_dentry);
68
 #else
69
 		if(file->f_dentry->d_inode)
70
 			CIFS_I(file->f_dentry->d_inode)->time = 0;
71
Index: linux-2.6.18-openvz/fs/cifs/fcntl.c
72
=====================================================================
73
--- linux-2.6.18-openvz.orig/fs/cifs/fcntl.c
74
+++ linux-2.6.18-openvz/fs/cifs/fcntl.c
75
@@ -85,10 +85,10 @@ int cifs_dir_notify(struct file *file, u
76
 
77
 	full_path = build_path_from_dentry(file->f_dentry);
78
 #else
79
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
80
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
81
 	pTcon = cifs_sb->tcon;
82
 
83
-	full_path = build_path_from_dentry(file->f_path.dentry);
84
+	full_path = build_path_from_dentry(file->f_dentry);
85
 #endif
86
 
87
 	if (full_path == NULL) {
88
Index: linux-2.6.18-openvz/fs/cifs/file.c
89
=====================================================================
90
--- linux-2.6.18-openvz.orig/fs/cifs/file.c
91
+++ linux-2.6.18-openvz/fs/cifs/file.c
92
@@ -153,12 +153,12 @@ static inline int cifs_open_inode_helper
93
 	} else {
94
 		if (file->f_dentry->d_inode->i_mapping) {
95
 #else
96
-	if (timespec_equal(&file->f_path.dentry->d_inode->i_mtime, &temp) &&
97
-			   (file->f_path.dentry->d_inode->i_size ==
98
+	if (timespec_equal(&file->f_dentry->d_inode->i_mtime, &temp) &&
99
+			   (file->f_dentry->d_inode->i_size ==
100
 			    (loff_t)le64_to_cpu(buf->EndOfFile))) {
101
 		cFYI(1, ("inode unchanged on server"));
102
 	} else {
103
-		if (file->f_path.dentry->d_inode->i_mapping) {
104
+		if (file->f_dentry->d_inode->i_mapping) {
105
 #endif
106
 		/* BB no need to lock inode until after invalidate
107
 		   since namei code should already have it locked? */
108
@@ -171,7 +171,7 @@ static inline int cifs_open_inode_helper
109
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
110
 		invalidate_remote_inode(file->f_dentry->d_inode);
111
 #else			 
112
-		invalidate_remote_inode(file->f_path.dentry->d_inode);
113
+		invalidate_remote_inode(file->f_dentry->d_inode);
114
 #endif
115
 	}
116
 
117
@@ -180,14 +180,14 @@ client_can_cache:
118
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
119
 		rc = cifs_get_inode_info_unix(&file->f_dentry->d_inode,
120
 #else	
121
-		rc = cifs_get_inode_info_unix(&file->f_path.dentry->d_inode,
122
+		rc = cifs_get_inode_info_unix(&file->f_dentry->d_inode,
123
 #endif
124
 			full_path, inode->i_sb, xid);
125
 
126
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
127
 		rc = cifs_get_inode_info(&file->f_dentry->d_inode,
128
 #else
129
-		rc = cifs_get_inode_info(&file->f_path.dentry->d_inode,
130
+		rc = cifs_get_inode_info(&file->f_dentry->d_inode,
131
 #endif
132
 			full_path, buf, inode->i_sb, xid, NULL);
133
 
134
@@ -199,7 +199,7 @@ client_can_cache:
135
 			 file->f_dentry->d_inode));
136
 #else
137
 		cFYI(1, ("Exclusive Oplock granted on inode %p",
138
-			 file->f_path.dentry->d_inode));
139
+			 file->f_dentry->d_inode));
140
 #endif
141
 	} else if ((*oplock & 0xF) == OPLOCK_READ)
142
 		pCifsInode->clientCanCacheRead = true;
143
@@ -232,7 +232,7 @@ int cifs_open(struct inode *inode, struc
144
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
145
 		pCifsInode = CIFS_I(file->f_dentry->d_inode);
146
 #else
147
-		pCifsInode = CIFS_I(file->f_path.dentry->d_inode);
148
+		pCifsInode = CIFS_I(file->f_dentry->d_inode);
149
 #endif
150
 		read_lock(&GlobalSMBSeslock);
151
 		list_for_each(tmp, &pCifsInode->openFileList) {
152
@@ -264,7 +264,7 @@ int cifs_open(struct inode *inode, struc
153
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
154
 	full_path = build_path_from_dentry(file->f_dentry);
155
 #else
156
-	full_path = build_path_from_dentry(file->f_path.dentry);
157
+	full_path = build_path_from_dentry(file->f_dentry);
158
 #endif
159
 	if (full_path == NULL) {
160
 		FreeXid(xid);
161
@@ -353,7 +353,7 @@ int cifs_open(struct inode *inode, struc
162
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
163
 	pCifsInode = CIFS_I(file->f_dentry->d_inode);
164
 #else
165
-	pCifsInode = CIFS_I(file->f_path.dentry->d_inode);
166
+	pCifsInode = CIFS_I(file->f_dentry->d_inode);
167
 #endif
168
 	if (pCifsInode) {
169
 		rc = cifs_open_inode_helper(inode, file, pCifsInode,
170
@@ -453,14 +453,14 @@ static int cifs_reopen_file(struct file 
171
    and we can never tell if the caller already has the rename_sem */
172
 	full_path = build_path_from_dentry(file->f_dentry);
173
 #else
174
-	if (file->f_path.dentry == NULL) {
175
+	if (file->f_dentry == NULL) {
176
 		cERROR(1, ("no valid name if dentry freed"));
177
 		dump_stack();
178
 		rc = -EBADF;
179
 		goto reopen_error_exit;
180
 	}
181
 
182
-	inode = file->f_path.dentry->d_inode;
183
+	inode = file->f_dentry->d_inode;
184
 	if (inode == NULL) {
185
 		cERROR(1, ("inode not valid"));
186
 		dump_stack();
187
@@ -475,7 +475,7 @@ static int cifs_reopen_file(struct file 
188
    those that already have the rename sem can end up causing writepage
189
    to get called and if the server was down that means we end up here,
190
    and we can never tell if the caller already has the rename_sem */
191
-	full_path = build_path_from_dentry(file->f_path.dentry);
192
+	full_path = build_path_from_dentry(file->f_dentry);
193
 #endif
194
 	if (full_path == NULL) {
195
 		rc = -ENOMEM;
196
@@ -543,7 +543,7 @@ reopen_error_exit:
197
 					file->f_dentry->d_inode));
198
 #else
199
 				cFYI(1, ("Exclusive Oplock granted on inode %p",
200
-					 file->f_path.dentry->d_inode));
201
+					 file->f_dentry->d_inode));
202
 #endif
203
 			} else if ((oplock & 0xF) == OPLOCK_READ) {
204
 				pCifsInode->clientCanCacheRead = true;
205
@@ -673,7 +673,7 @@ int cifs_closedir(struct inode *inode, s
206
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
207
 			CIFS_SB(file->f_dentry->d_sb);
208
 #else
209
-			CIFS_SB(file->f_path.dentry->d_sb);
210
+			CIFS_SB(file->f_dentry->d_sb);
211
 #endif
212
 
213
 		pTcon = cifs_sb->tcon;
214
@@ -785,7 +785,7 @@ int cifs_lock(struct file *file, int cmd
215
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
216
 	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
217
 #else
218
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
219
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
220
 #endif
221
 	pTcon = cifs_sb->tcon;
222
 
223
@@ -922,14 +922,14 @@ ssize_t cifs_user_write(struct file *fil
224
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
225
 	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
226
 #else
227
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
228
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
229
 #endif
230
 
231
 	pTcon = cifs_sb->tcon;
232
 
233
 	/* cFYI(1,
234
 	   (" write %d bytes to offset %lld of %s", write_size,
235
-	   *poffset, file->f_path.dentry->d_name.name)); */
236
+	   *poffset, file->f_dentry->d_name.name)); */
237
 
238
 	if (file->private_data == NULL)
239
 		return -EBADF;
240
@@ -944,7 +944,7 @@ ssize_t cifs_user_write(struct file *fil
241
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
242
 	if (*poffset > file->f_dentry->d_inode->i_size)
243
 #else
244
-	if (*poffset > file->f_path.dentry->d_inode->i_size)
245
+	if (*poffset > file->f_dentry->d_inode->i_size)
246
 #endif
247
 		long_op = CIFS_VLONG_OP; /* writes past EOF can be slow */
248
 	else
249
@@ -1017,19 +1017,19 @@ ssize_t cifs_user_write(struct file *fil
250
 		}
251
 		mark_inode_dirty_sync(file->f_dentry->d_inode);
252
 #else
253
-	if ((file->f_path.dentry) && (file->f_path.dentry->d_inode)) {
254
-		struct inode *inode = file->f_path.dentry->d_inode;
255
+	if ((file->f_dentry) && (file->f_dentry->d_inode)) {
256
+		struct inode *inode = file->f_dentry->d_inode;
257
 /* Do not update local mtime - server will set its actual value on write
258
  *		inode->i_ctime = inode->i_mtime =
259
  * 			current_fs_time(inode->i_sb);*/
260
 		if (total_written > 0) {
261
 			spin_lock(&inode->i_lock);
262
-			if (*poffset > file->f_path.dentry->d_inode->i_size)
263
-				i_size_write(file->f_path.dentry->d_inode,
264
+			if (*poffset > file->f_dentry->d_inode->i_size)
265
+				i_size_write(file->f_dentry->d_inode,
266
 					*poffset);
267
 			spin_unlock(&inode->i_lock);
268
 		}
269
-		mark_inode_dirty_sync(file->f_path.dentry->d_inode);
270
+		mark_inode_dirty_sync(file->f_dentry->d_inode);
271
 #endif
272
 	}
273
 	FreeXid(xid);
274
@@ -1063,12 +1063,12 @@ static ssize_t cifs_write(struct file *f
275
 
276
 	if (*poffset > file->f_dentry->d_inode->i_size)
277
 #else
278
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
279
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
280
 
281
 	pTcon = cifs_sb->tcon;
282
 
283
 	cFYI(1, ("write %zd bytes to offset %lld of %s", write_size,
284
-	   *poffset, file->f_path.dentry->d_name.name));
285
+	   *poffset, file->f_dentry->d_name.name));
286
 
287
 	if (file->private_data == NULL)
288
 		return -EBADF;
289
@@ -1076,7 +1076,7 @@ static ssize_t cifs_write(struct file *f
290
 
291
 	xid = GetXid();
292
 
293
-	if (*poffset > file->f_path.dentry->d_inode->i_size)
294
+	if (*poffset > file->f_dentry->d_inode->i_size)
295
 #endif	
296
 		long_op = CIFS_VLONG_OP; /* writes past EOF take long time */
297
 	else
298
@@ -1167,18 +1167,18 @@ static ssize_t cifs_write(struct file *f
299
 		}
300
 		mark_inode_dirty_sync(file->f_dentry->d_inode);
301
 #else
302
-	if ((file->f_path.dentry) && (file->f_path.dentry->d_inode)) {
303
+	if ((file->f_dentry) && (file->f_dentry->d_inode)) {
304
 /*BB We could make this contingent on superblock ATIME flag too */
305
-/*		file->f_path.dentry->d_inode->i_ctime =
306
-		file->f_path.dentry->d_inode->i_mtime = CURRENT_TIME;*/
307
+/*		file->f_dentry->d_inode->i_ctime =
308
+		file->f_dentry->d_inode->i_mtime = CURRENT_TIME;*/
309
 		if (total_written > 0) {
310
-			spin_lock(&file->f_path.dentry->d_inode->i_lock);
311
-			if (*poffset > file->f_path.dentry->d_inode->i_size)
312
-				i_size_write(file->f_path.dentry->d_inode,
313
+			spin_lock(&file->f_dentry->d_inode->i_lock);
314
+			if (*poffset > file->f_dentry->d_inode->i_size)
315
+				i_size_write(file->f_dentry->d_inode,
316
 					     *poffset);
317
-			spin_unlock(&file->f_path.dentry->d_inode->i_lock);
318
+			spin_unlock(&file->f_dentry->d_inode->i_lock);
319
 		}
320
-		mark_inode_dirty_sync(file->f_path.dentry->d_inode);
321
+		mark_inode_dirty_sync(file->f_dentry->d_inode);
322
 #endif
323
 	}
324
 	FreeXid(xid);
325
@@ -1695,7 +1695,7 @@ int cifs_fsync(struct file *file, struct
326
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
327
 	struct inode *inode = file->f_dentry->d_inode;
328
 #else
329
-	struct inode *inode = file->f_path.dentry->d_inode;
330
+	struct inode *inode = file->f_dentry->d_inode;
331
 #endif
332
 
333
 	xid = GetXid();
334
@@ -1753,7 +1753,7 @@ int cifs_flush(struct file *file)
335
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
336
 	struct inode *inode = file->f_dentry->d_inode;
337
 #else
338
-	struct inode *inode = file->f_path.dentry->d_inode;
339
+	struct inode *inode = file->f_dentry->d_inode;
340
 #endif
341
 	int rc = 0;
342
 
343
@@ -1797,7 +1797,7 @@ ssize_t cifs_user_read(struct file *file
344
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
345
 	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
346
 #else
347
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
348
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
349
 #endif
350
 	pTcon = cifs_sb->tcon;
351
 
352
@@ -1881,7 +1881,7 @@ static ssize_t cifs_read(struct file *fi
353
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
354
 	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
355
 #else
356
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
357
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
358
 #endif
359
 	pTcon = cifs_sb->tcon;
360
 
361
@@ -1941,7 +1941,7 @@ int cifs_file_mmap(struct file *file, st
362
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
363
 	struct dentry *dentry = file->f_dentry;
364
 #else
365
-	struct dentry *dentry = file->f_path.dentry;
366
+	struct dentry *dentry = file->f_dentry;
367
 #endif
368
 	int rc, xid;
369
 
370
@@ -2031,7 +2031,7 @@ static int cifs_readpages(struct file *f
371
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
372
 	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
373
 #else
374
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
375
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
376
 #endif
377
 	pTcon = cifs_sb->tcon;
378
 
379
@@ -2174,8 +2174,8 @@ static int cifs_readpage_worker(struct f
380
 	file->f_dentry->d_inode->i_atime =
381
 		current_fs_time(file->f_dentry->d_inode->i_sb);
382
 #else
383
-	file->f_path.dentry->d_inode->i_atime =
384
-		current_fs_time(file->f_path.dentry->d_inode->i_sb);
385
+	file->f_dentry->d_inode->i_atime =
386
+		current_fs_time(file->f_dentry->d_inode->i_sb);
387
 #endif
388
 
389
 	if (PAGE_CACHE_SIZE > rc)
390
Index: linux-2.6.18-openvz/fs/cifs/readdir.c
391
=====================================================================
392
--- linux-2.6.18-openvz.orig/fs/cifs/readdir.c
393
+++ linux-2.6.18-openvz/fs/cifs/readdir.c
394
@@ -82,25 +82,25 @@ static int construct_dentry(struct qstr 
395
 		if (*ptmp_inode == NULL) {
396
 			*ptmp_inode = new_inode(file->f_dentry->d_sb);
397
 #else
398
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
399
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
400
 	pTcon = cifs_sb->tcon;
401
 
402
 	qstring->hash = full_name_hash(qstring->name, qstring->len);
403
-	tmp_dentry = d_lookup(file->f_path.dentry, qstring);
404
+	tmp_dentry = d_lookup(file->f_dentry, qstring);
405
 	if (tmp_dentry) {
406
 		cFYI(0, ("existing dentry with inode 0x%p",
407
 			 tmp_dentry->d_inode));
408
 		*ptmp_inode = tmp_dentry->d_inode;
409
 /* BB overwrite old name? i.e. tmp_dentry->d_name and tmp_dentry->d_name.len??*/
410
 		if (*ptmp_inode == NULL) {
411
-			*ptmp_inode = new_inode(file->f_path.dentry->d_sb);
412
+			*ptmp_inode = new_inode(file->f_dentry->d_sb);
413
 #endif
414
 			if (*ptmp_inode == NULL)
415
 				return rc;
416
 			rc = 1;
417
 		}
418
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 19)
419
-		if (file->f_path.dentry->d_sb->s_flags & MS_NOATIME)
420
+		if (file->f_dentry->d_sb->s_flags & MS_NOATIME)
421
 #else
422
 		if (file->f_dentry->d_sb->s_flags & MS_NOATIME)
423
 #endif
424
@@ -109,7 +109,7 @@ static int construct_dentry(struct qstr 
425
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
426
 		tmp_dentry = d_alloc(file->f_dentry, qstring);
427
 #else
428
-		tmp_dentry = d_alloc(file->f_path.dentry, qstring);
429
+		tmp_dentry = d_alloc(file->f_dentry, qstring);
430
 #endif
431
 		if (tmp_dentry == NULL) {
432
 			cERROR(1, ("Failed allocating dentry"));
433
@@ -119,7 +119,7 @@ static int construct_dentry(struct qstr 
434
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
435
 		*ptmp_inode = new_inode(file->f_dentry->d_sb);
436
 #else
437
-		*ptmp_inode = new_inode(file->f_path.dentry->d_sb);
438
+		*ptmp_inode = new_inode(file->f_dentry->d_sb);
439
 #endif
440
 		if (pTcon->nocase)
441
 			tmp_dentry->d_op = &cifs_ci_dentry_ops;
442
@@ -128,7 +128,7 @@ static int construct_dentry(struct qstr 
443
 		if (*ptmp_inode == NULL)
444
 			return rc;
445
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 19)
446
-		if (file->f_path.dentry->d_sb->s_flags & MS_NOATIME)
447
+		if (file->f_dentry->d_sb->s_flags & MS_NOATIME)
448
 #else
449
 		if (file->f_dentry->d_sb->s_flags & MS_NOATIME)
450
 #endif
451
@@ -514,7 +514,7 @@ static int initiate_cifs_search(const in
452
 
453
 	full_path = build_path_from_dentry(file->f_dentry);
454
 #else
455
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
456
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
457
 	if (cifs_sb == NULL)
458
 		return -EINVAL;
459
 
460
@@ -522,7 +522,7 @@ static int initiate_cifs_search(const in
461
 	if (pTcon == NULL)
462
 		return -EINVAL;
463
 
464
-	full_path = build_path_from_dentry(file->f_path.dentry);
465
+	full_path = build_path_from_dentry(file->f_dentry);
466
 #endif
467
 
468
 	if (full_path == NULL)
469
@@ -691,7 +691,7 @@ static int is_dir_changed(struct file *f
470
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
471
 	struct inode *inode = file->f_dentry->d_inode;
472
 #else
473
-	struct inode *inode = file->f_path.dentry->d_inode;
474
+	struct inode *inode = file->f_dentry->d_inode;
475
 #endif
476
 	struct cifsInodeInfo *cifsInfo = CIFS_I(inode);
477
 
478
@@ -924,7 +924,7 @@ static int cifs_filldir(char *pfindEntry
479
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
480
 	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
481
 #else
482
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
483
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
484
 #endif
485
 
486
 	qstring.name = scratch_buf;
487
@@ -1083,7 +1083,7 @@ int cifs_readdir(struct file *file, void
488
 		if (filldir(direntry, "..", 2, file->f_pos,
489
 		     file->f_dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) {
490
 #else
491
-	cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
492
+	cifs_sb = CIFS_SB(file->f_dentry->d_sb);
493
 	pTcon = cifs_sb->tcon;
494
 	if (pTcon == NULL)
495
 		return -EINVAL;
496
@@ -1091,7 +1091,7 @@ int cifs_readdir(struct file *file, void
497
 	switch ((int) file->f_pos) {
498
 	case 0:
499
 		if (filldir(direntry, ".", 1, file->f_pos,
500
-		     file->f_path.dentry->d_inode->i_ino, DT_DIR) < 0) {
501
+		     file->f_dentry->d_inode->i_ino, DT_DIR) < 0) {
502
 			cERROR(1, ("Filldir for current dir failed"));
503
 			rc = -ENOMEM;
504
 			break;
505
@@ -1099,7 +1099,7 @@ int cifs_readdir(struct file *file, void
506
 		file->f_pos++;
507
 	case 1:
508
 		if (filldir(direntry, "..", 2, file->f_pos,
509
-		     file->f_path.dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) {
510
+		     file->f_dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) {
511
 #endif
512
 			cERROR(1, ("Filldir for parent dir failed"));
513
 			rc = -ENOMEM;
514
Index: linux-2.6.18-openvz/fs/ntfs/aops.c
515
=====================================================================
516
--- linux-2.6.18-openvz.orig/fs/ntfs/aops.c
517
+++ linux-2.6.18-openvz/fs/ntfs/aops.c
518
@@ -415,7 +415,7 @@ retry_readpage:
519
 	/* Is the page fully outside i_size? (truncate in progress) */
520
 	if (unlikely(page->index >= (i_size + PAGE_CACHE_SIZE - 1) >>
521
 			PAGE_CACHE_SHIFT)) {
522
-		zero_user_page(page, 0, PAGE_CACHE_SIZE, KM_USER0);
523
+		zero_user(page, 0, PAGE_CACHE_SIZE);
524
 		ntfs_debug("Read outside i_size - truncated?");
525
 		goto done;
526
 	}
527
Index: linux-2.6.18-openvz/fs/ntfs/compress.c
528
=====================================================================
529
--- linux-2.6.18-openvz.orig/fs/ntfs/compress.c
530
+++ linux-2.6.18-openvz/fs/ntfs/compress.c
531
@@ -565,7 +565,7 @@ int ntfs_read_compressed_block(struct pa
532
 	if (xpage >= max_page) {
533
 		kfree(bhs);
534
 		kfree(pages);
535
-		zero_user_page(page, 0, PAGE_CACHE_SIZE, KM_USER0);
536
+		zero_user(page, 0, PAGE_CACHE_SIZE);
537
 		ntfs_debug("Compressed read outside i_size - truncated?");
538
 		SetPageUptodate(page);
539
 		unlock_page(page);
540
Index: linux-2.6.18-openvz/samples/tracepoints/tracepoint-probe-sample.c
541
=====================================================================
542
--- linux-2.6.18-openvz.orig/samples/tracepoints/tracepoint-probe-sample.c
543
+++ linux-2.6.18-openvz/samples/tracepoints/tracepoint-probe-sample.c
544
@@ -16,10 +16,10 @@
545
 static void probe_subsys_event(struct inode *inode, struct file *file)
546
 {
547
 	path_get(&file->f_path);
548
-	dget(file->f_path.dentry);
549
+	dget(file->f_dentry);
550
 	printk(KERN_INFO "Event is encountered with filename %s\n",
551
-		file->f_path.dentry->d_name.name);
552
-	dput(file->f_path.dentry);
553
+		file->f_dentry->d_name.name);
554
+	dput(file->f_dentry);
555
 	path_put(&file->f_path);
556
 }
557
 
558
Index: linux-2.6.18-openvz/sound/oss/dmasound/dmasound_core.c
559
=====================================================================
560
--- linux-2.6.18-openvz.orig/sound/oss/dmasound/dmasound_core.c
561
+++ linux-2.6.18-openvz/sound/oss/dmasound/dmasound_core.c
562
@@ -1051,7 +1051,7 @@ static int sq_release(struct inode *inod
563
 
564
 	if (file->f_mode & FMODE_WRITE) {
565
 		if (write_sq.busy)
566
-			rc = sq_fsync(file, file->f_path.dentry);
567
+			rc = sq_fsync(file, file->f_dentry);
568
 
569
 		sq_reset_output() ; /* make sure dma is stopped and all is quiet */
570
 		write_sq_release_buffers();
571
@@ -1217,7 +1217,7 @@ static int sq_ioctl(struct inode *inode,
572
 		if ((file->f_mode & FMODE_READ) && dmasound.mach.record)
573
 			sq_reset_input() ;
574
 		if (file->f_mode & FMODE_WRITE) {
575
-			result = sq_fsync(file, file->f_path.dentry);
576
+			result = sq_fsync(file, file->f_dentry);
577
 			sq_reset_output() ;
578
 		}
579
 		/* if we are the shared resource owner then release them */
580
Index: linux-2.6.18-openvz/sound/oss/msnd_pinnacle.c
581
=====================================================================
582
--- linux-2.6.18-openvz.orig/sound/oss/msnd_pinnacle.c
583
+++ linux-2.6.18-openvz/sound/oss/msnd_pinnacle.c
584
@@ -1007,7 +1007,7 @@ static int dsp_write(const char __user *
585
 
586
 static ssize_t dev_read(struct file *file, char __user *buf, size_t count, loff_t *off)
587
 {
588
-	int minor = iminor(file->f_path.dentry->d_inode);
589
+	int minor = iminor(file->f_dentry->d_inode);
590
 	if (minor == dev.dsp_minor)
591
 		return dsp_read(buf, count);
592
 	else
593
@@ -1016,7 +1016,7 @@ static ssize_t dev_read(struct file *fil
594
 
595
 static ssize_t dev_write(struct file *file, const char __user *buf, size_t count, loff_t *off)
596
 {
597
-	int minor = iminor(file->f_path.dentry->d_inode);
598
+	int minor = iminor(file->f_dentry->d_inode);
599
 	if (minor == dev.dsp_minor)
600
 		return dsp_write(buf, count);
601
 	else
602
Index: linux-2.6.18-openvz/sound/oss/soundcard.c
603
=====================================================================
604
--- linux-2.6.18-openvz.orig/sound/oss/soundcard.c
605
+++ linux-2.6.18-openvz/sound/oss/soundcard.c
606
@@ -142,7 +142,7 @@ static int get_mixer_levels(void __user 
607
 
608
 static ssize_t sound_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
609
 {
610
-	int dev = iminor(file->f_path.dentry->d_inode);
611
+	int dev = iminor(file->f_dentry->d_inode);
612
 	int ret = -EINVAL;
613
 
614
 	/*
615
@@ -175,7 +175,7 @@ static ssize_t sound_read(struct file *f
616
 
617
 static ssize_t sound_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
618
 {
619
-	int dev = iminor(file->f_path.dentry->d_inode);
620
+	int dev = iminor(file->f_dentry->d_inode);
621
 	int ret = -EINVAL;
622
 	
623
 	lock_kernel();
624
@@ -394,7 +394,7 @@ static int sound_ioctl(struct inode *ino
625
 
626
 static unsigned int sound_poll(struct file *file, poll_table * wait)
627
 {
628
-	struct inode *inode = file->f_path.dentry->d_inode;
629
+	struct inode *inode = file->f_dentry->d_inode;
630
 	int dev = iminor(inode);
631
 
632
 	DEB(printk("sound_poll(dev=%d)\n", dev));
633
@@ -419,7 +419,7 @@ static int sound_mmap(struct file *file,
634
 	int dev_class;
635
 	unsigned long size;
636
 	struct dma_buffparms *dmap = NULL;
637
-	int dev = iminor(file->f_path.dentry->d_inode);
638
+	int dev = iminor(file->f_dentry->d_inode);
639
 
640
 	dev_class = dev & 0x0f;
641
 	dev >>= 4;
642
Index: linux-2.6.18-openvz/sound/pcmcia/Kconfig
643
=====================================================================
644
--- linux-2.6.18-openvz.orig/sound/pcmcia/Kconfig
645
+++ linux-2.6.18-openvz/sound/pcmcia/Kconfig
646
@@ -16,7 +16,7 @@ config SND_VXPOCKET
647
 
648
 config SND_PDAUDIOCF
649
 	tristate "Sound Core PDAudioCF"
650
-	depends on SND && PCMCIA
651
+	depends on BROKEN && SND && PCMCIA
652
 	select SND_PCM
653
 	help
654
 	  Say Y here to include support for Sound Core PDAudioCF
655
Index: linux-2.6.18-openvz/sound/sound_firmware.c
656
=====================================================================
657
--- linux-2.6.18-openvz.orig/sound/sound_firmware.c
658
+++ linux-2.6.18-openvz/sound/sound_firmware.c
659
@@ -19,7 +19,7 @@ static int do_mod_firmware_load(const ch
660
 		printk(KERN_INFO "Unable to load '%s'.\n", fn);
661
 		return 0;
662
 	}
663
-	l = filp->f_path.dentry->d_inode->i_size;
664
+	l = filp->f_dentry->d_inode->i_size;
665
 	if (l <= 0 || l > 131072)
666
 	{
667
 		printk(KERN_INFO "Invalid firmware '%s'\n", fn);
(-)a/sys-kernel/openvz-sources/openvz-sources-2.6.18.028.064.7.ebuild (+47 lines)
Line 0 Link Here
1
diff -urN linux-2.6.18-openvz-028.062.3/arch/x86_64/ia32/ia32entry.S linux-2.6.18-openvz-028.062.3-ia32entryfix/arch/x86_64/ia32/ia32entry.S
2
--- linux-2.6.18-openvz-028.062.3/arch/x86_64/ia32/ia32entry.S	2009-06-28 22:48:31.000000000 -0600
Line 0 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.18.028.064.7.ebuild $
4
5
inherit versionator
6
7
ETYPE="sources"
8
9
CKV=$(get_version_component_range 1-3)
10
OKV=${OKV:-${CKV}}
11
if [[ ${PR} == "r0" ]]; then
12
KV_FULL=${CKV}-${PN/-*}-$(get_version_component_range 4-6)
13
else
14
KV_FULL=${CKV}-${PN/-*}-$(get_version_component_range 4-6)-${PR}
15
fi
16
OVZ_KERNEL="$(get_version_component_range 4)stab$(get_version_component_range 5)"
17
OVZ_REV="$(get_version_component_range 6)"
18
EXTRAVERSION=-${OVZ_KERNEL}
19
KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
20
21
inherit kernel-2
22
detect_version
23
24
KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86"
25
IUSE=""
26
PATCHV="128.2.1.el5"
27
DESCRIPTION="Full sources including OpenVZ patchset for the 2.6.18 kernel tree"
28
HOMEPAGE="http://www.openvz.org"
29
SRC_URI="${KERNEL_URI} ${ARCH_URI}
30
	http://download.openvz.org/kernel/branches/rhel5-${CKV}/${OVZ_KERNEL}.${OVZ_REV}/patches/patch-${PATCHV}.${OVZ_KERNEL}.${OVZ_REV}-combined.gz"
31
32
UNIPATCH_STRICTORDER=1
33
UNIPATCH_LIST="${DISTDIR}/patch-${PATCHV}.${OVZ_KERNEL}.${OVZ_REV}-combined.gz
34
${FILESDIR}/${PN}-2.6.18.028.064.7-syscall.patch
35
${FILESDIR}/${PN}-2.6.18.028.064.7-bridgemac.patch
36
${FILESDIR}/${PN}-2.6.18.028.064.7-cifs-buildfix.patch"
37
38
K_EXTRAEINFO="This openvz kernel uses RHEL5 patchset instead of vanilla kernel.
39
This patchset considered to be more stable and security supported by upstream,
40
that why they suggested us to use it. But note: RHEL5 patchset is very fragile
41
and fails to build in many configurations so if you have problems use config
42
files from openvz team http://wiki.openvz.org/Download/kernel/rhel5/${OVZ_KERNEL}"
43
44
K_EXTRAEWARN="This kernel is stable only when built with gcc-4.1.x and is known
45
to oops in random places if built with newer compilers."

Return to bug 285998