]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: fix v3-less build
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 13 Feb 2015 17:34:25 +0000 (12:34 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 16 Feb 2015 16:43:13 +0000 (11:43 -0500)
commitbd4df02de7fe9ef822a8cc12fcd39e72d040875c
tree1758c57c3578030897930d86d20ae0aace88d879
parent5bee5a99a67ad4633b39cbad3fc25effae48e3ed
nfsd4: fix v3-less build

Includes of pnfs.h in export.c and fcntl.c also bring in xdr4.h, which
won't build without CONFIG_NFSD_V3, breaking non-V3 builds.  Ifdef-out
most of pnfs.h in that case.

Reported-by: Bas Peters <baspeters93@gmail.com>
Reported-by: Jim Davis <jim.epost@gmail.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 012d395b5d2 "nfsd: implement pNFS operations"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/pnfs.h