Skip to content
Commit a51f25a5 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarBas Peters <baspeters93@gmail.com>
Reported-by: default avatarJim Davis <jim.epost@gmail.com>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Fixes: 9cf514cc "nfsd: implement pNFS operations"
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 0ab39de6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment