commit | a51f25a587e16bf89dce3f821de99b7717782859 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Fri Feb 13 12:34:25 2015 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Feb 16 11:43:13 2015 -0500 |
tree | 1758c57c3578030897930d86d20ae0aace88d879 | |
parent | 0ab39de6b341189589093777f241dd803b417fc0 [diff] |
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: 9cf514ccfac "nfsd: implement pNFS operations" Signed-off-by: J. Bruce Fields <bfields@redhat.com>