summaryrefslogtreecommitdiff
path: root/debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-21 14:59:42 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-21 14:59:42 +0100
commite79ac4182e0532bce1b65c964e5dccce42f77f7a (patch)
treef1614c5e90dd21f399c9617c06e6b8ce30414fb8 /debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch
parent4a30056e280dc695827f14892de2aa1bbd4298a8 (diff)
drop old patch series
Diffstat (limited to 'debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch')
-rw-r--r--debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch b/debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch
deleted file mode 100644
index fa96c938..00000000
--- a/debian/patches/0004-libnetfs-add-a-payload-aware-intrans-function.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From f19a588501d3afe0073925e01b1c25ba26a262ae Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Thu, 28 Nov 2013 10:45:44 +0100
-Subject: [PATCH hurd 04/29] libnetfs: add a payload-aware intrans function
-
-* libnetfs/priv.h (begin_using_protid_payload): New function.
-* libnetfs/mutations.h: Add mutator.
----
- libnetfs/mutations.h | 3 +++
- libnetfs/priv.h | 6 ++++++
- 2 files changed, 9 insertions(+)
-
-diff --git a/libnetfs/mutations.h b/libnetfs/mutations.h
-index e60a220..088d8a0 100644
---- a/libnetfs/mutations.h
-+++ b/libnetfs/mutations.h
-@@ -23,12 +23,15 @@
- #define IO_SELECT_REPLY_PORT
-
- #define FILE_INTRAN protid_t begin_using_protid_port (file_t)
-+#define FILE_INTRAN_PAYLOAD protid_t begin_using_protid_payload
- #define FILE_DESTRUCTOR end_using_protid_port (protid_t)
-
- #define IO_INTRAN protid_t begin_using_protid_port (io_t)
-+#define IO_INTRAN_PAYLOAD protid_t begin_using_protid_payload
- #define IO_DESTRUCTOR end_using_protid_port (protid_t)
-
- #define FSYS_INTRAN control_t begin_using_control_port (fsys_t)
-+#define FSYS_INTRAN_PAYLOAD control_t begin_using_control_payload
- #define FSYS_DESTRUCTOR end_using_control_port (control_t)
-
- #define FILE_IMPORTS import "libnetfs/netfs.h"; import "libnetfs/priv.h";
-diff --git a/libnetfs/priv.h b/libnetfs/priv.h
-index ba31080..36c8f53 100644
---- a/libnetfs/priv.h
-+++ b/libnetfs/priv.h
-@@ -44,6 +44,12 @@ begin_using_control_port (fsys_t port)
- return ports_lookup_port (netfs_port_bucket, port, netfs_control_class);
- }
-
-+static inline struct netfs_control * __attribute__ ((unused))
-+begin_using_control_payload (unsigned long payload)
-+{
-+ return ports_lookup_payload (netfs_port_bucket, payload, netfs_control_class);
-+}
-+
- static inline void __attribute__ ((unused))
- end_using_control_port (struct netfs_control *cred)
- {
---
-2.1.3
-