]> git.baikalelectronics.ru Git - kernel.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)
commit59cc9705c2086c9ac8573c7faf8da09a4a92e512
tree2f7ea57e37e8773da62c159164c0f41ddb0aa766
parentbae6f124896974f67d89a3a4a51bdff39c051625
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