[PATCH net-next 0/2] rxrpc: Rearrange headers

David Howells dhowells at redhat.com
Fri Jul 21 11:29:42 PDT 2017


Here's a pair of patches that rearrange some of the AF_RXRPC header files
that are outside of the net/rxrpc/ directory:

 (1) The bits userspace need are moved to uapi/linux/rxrpc.h.  [Should this
     be af_rxrpc.h instead, I wonder - but there doesn't seem to be
     precedent for that in the other net UAPI headers.]

 (2) For the most part, the contents of rxrpc/packet.h are no longer used
     outside of the AF_RXRPC module, so move them to net/rxrpc/protocol.h
     with the exception of the standard abort codes which are exposed to
     userspace when an abort occurs and the security index values which are
     needed when constructing keys.

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite

Tagged thusly:

	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
	rxrpc-rewrite-20170721

David
---
David Howells (2):
      rxrpc: Expose UAPI definitions to userspace
      rxrpc: Move the packet.h include file into net/rxrpc/


 fs/afs/misc.c              |    1 
 fs/afs/rxrpc.c             |    1 
 include/linux/rxrpc.h      |   79 ---------------
 include/rxrpc/packet.h     |  235 --------------------------------------------
 include/uapi/linux/rxrpc.h |  124 +++++++++++++++++++++++
 net/rxrpc/ar-internal.h    |    2 
 net/rxrpc/protocol.h       |  190 ++++++++++++++++++++++++++++++++++++
 7 files changed, 315 insertions(+), 317 deletions(-)
 delete mode 100644 include/linux/rxrpc.h
 delete mode 100644 include/rxrpc/packet.h
 create mode 100644 include/uapi/linux/rxrpc.h
 create mode 100644 net/rxrpc/protocol.h




More information about the linux-afs mailing list