diff options
author | Vadim Kuznetsov <vadimk@gentoo.org> | 2012-03-17 16:35:20 +0000 |
---|---|---|
committer | Vadim Kuznetsov <vadimk@gentoo.org> | 2012-03-17 16:35:20 +0000 |
commit | 96e755c8514d99fa491e193def76cc7c5eff8006 (patch) | |
tree | 0ab91ebbb6a72bea1cad47aa4bb80dadecc1be13 /app-emulation/open-vm-tools-kmod/files | |
parent | cleanup (diff) | |
download | vmware-96e755c8514d99fa491e193def76cc7c5eff8006.tar.gz vmware-96e755c8514d99fa491e193def76cc7c5eff8006.tar.bz2 vmware-96e755c8514d99fa491e193def76cc7c5eff8006.zip |
open-vm-tools: version bump
svn path=/trunk/; revision=538
Diffstat (limited to 'app-emulation/open-vm-tools-kmod/files')
-rw-r--r-- | app-emulation/open-vm-tools-kmod/files/moduleparam.patch | 12 | ||||
-rw-r--r-- | app-emulation/open-vm-tools-kmod/files/setnlink.patch | 45 |
2 files changed, 0 insertions, 57 deletions
diff --git a/app-emulation/open-vm-tools-kmod/files/moduleparam.patch b/app-emulation/open-vm-tools-kmod/files/moduleparam.patch deleted file mode 100644 index 6589705..0000000 --- a/app-emulation/open-vm-tools-kmod/files/moduleparam.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/modules/linux/vmhgfs/tcp.c b/modules/linux/vmhgfs/tcp.c -index c7070a6..31a40df 100644 ---- a/modules/linux/vmhgfs/tcp.c -+++ b/modules/linux/vmhgfs/tcp.c -@@ -32,6 +32,7 @@ - #include <linux/in.h> - #include <linux/net.h> - #include <linux/inet.h> -+#include <linux/moduleparam.h> - #include <linux/errno.h> - #include <linux/kthread.h> - diff --git a/app-emulation/open-vm-tools-kmod/files/setnlink.patch b/app-emulation/open-vm-tools-kmod/files/setnlink.patch deleted file mode 100644 index 9ae4fe7..0000000 --- a/app-emulation/open-vm-tools-kmod/files/setnlink.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/modules/linux/vmhgfs/fsutil.c b/modules/linux/vmhgfs/fsutil.c -index 0c5102b..a978005 100644 ---- a/modules/linux/vmhgfs/fsutil.c -+++ b/modules/linux/vmhgfs/fsutil.c -@@ -62,6 +62,31 @@ static int HgfsPackGetattrRequest(HgfsReq *req, - * Private function implementations. - */ - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0) -+/* -+ *---------------------------------------------------------------------------- -+ * -+ * set_nlink -- -+ * -+ * Set an inode's link count. -+ * -+ * Results: -+ * None -+ * -+ * Side effects: -+ * None -+ * -+ *---------------------------------------------------------------------------- -+ */ -+ -+static inline void -+set_nlink(struct inode *inode, unsigned int nlink) -+{ -+ inode->i_nlink = nlink; -+} -+#endif -+ -+ - /* - *---------------------------------------------------------------------- - * -@@ -607,7 +632,7 @@ HgfsChangeFileAttributes(struct inode *inode, // IN/OUT: Inode - * account for '.' and ".."), and find printed a hard link error. So until - * we have getattr support for nlink, everyone gets 1. - */ -- inode->i_nlink = 1; -+ set_nlink(inode, 1); - - /* - * Use the stored uid and gid if we were given them at mount-time, or if |