]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd: require an explicit option to enable pNFS
authorChristoph Hellwig <hch@lst.de>
Mon, 30 Mar 2015 16:46:29 +0000 (18:46 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 30 Mar 2015 20:05:26 +0000 (16:05 -0400)
commitf3f03330dee0526d82f2a0fd1a79d207ed1ac439
tree2f7ea57e37e8773da62c159164c0f41ddb0aa766
parent7890203da2cb9b861dae9bdb88f882f3e03baec9
nfsd: require an explicit option to enable pNFS

Turns out sending out layouts to any client is a bad idea if they
can't get at the storage device, so require explicit admin action
to enable pNFS.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4layouts.c
include/uapi/linux/nfsd/export.h