nfs: add export operations
authorPeng Tao <tao.peng@primarydata.com>
Thu, 29 Jun 2017 13:34:53 +0000 (06:34 -0700)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:15 +0000 (16:00 -0400)
commit00422483ad415d6267d36711f0e51f4bbbd653ed
tree74b456ce1f075b4641f3b6a196843fc02ef25859
parent5b5faaf6df73412af0278997db36dbcb51011d9d
nfs: add export operations

This support for opening files on NFS by file handle, both through the
open_by_handle syscall, and for re-exporting NFS (for example using a
different version).  The support is very basic for now, as each open by
handle will have to do an NFSv4 open operation on the wire.  In the
future this will hopefully be mitigated by an open file cache, as well
as various optimizations in NFS for this specific case.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
[hch: incorporated various changes, resplit the patches, new changelog]
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/nfs/Makefile
fs/nfs/export.c [new file with mode: 0644]
fs/nfs/internal.h
fs/nfs/super.c