2015-02-10 16:34:12

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20150210, in fs/nfsd

Building with the attached random configuration file,

In file included from include/linux/linkage.h:4:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/slab.h:14,
from fs/nfsd/nfsctl.c:7:
fs/nfsd/xdr4.h: In function ‘set_change_info’:
fs/nfsd/xdr4.h:633:13: error: ‘struct svc_fh’ has no member named ‘fh_pre_saved’
BUG_ON(!fhp->fh_pre_saved);
^
include/linux/compiler.h:164:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
fs/nfsd/xdr4.h:633:2: note: in expansion of macro ‘BUG_ON’
BUG_ON(!fhp->fh_pre_saved);
^
In file included from fs/nfsd/pnfs.h:8:0,
from fs/nfsd/nfsctl.c:24:
fs/nfsd/xdr4.h:634:21: error: ‘struct svc_fh’ has no member named ‘fh_post_saved

cinfo->atomic = fhp->fh_post_saved;
^
fs/nfsd/xdr4.h:637:28: error: ‘struct svc_fh’ has no member named
‘fh_pre_change’
cinfo->before_change = fhp->fh_pre_change;
^
fs/nfsd/xdr4.h:638:27: error: ‘struct svc_fh’ has no member named
‘fh_post_change’
cinfo->after_change = fhp->fh_post_change;
^
fs/nfsd/xdr4.h:639:31: error: ‘struct svc_fh’ has no member named ‘fh_pre_ctime’
cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
^
fs/nfsd/xdr4.h:640:32: error: ‘struct svc_fh’ has no member named ‘fh_pre_ctime’
cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
^
fs/nfsd/xdr4.h:641:30: error: ‘struct svc_fh’ has no member named ‘fh_post_attr’
cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
^
fs/nfsd/xdr4.h:642:31: error: ‘struct svc_fh’ has no member named ‘fh_post_attr’
cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
^

cinfo->atomic = fhp->fh_post_saved;
^
fs/nfsd/xdr4.h:637:28: error: ‘struct svc_fh’ has no member named
‘fh_pre_change’
cinfo->before_change = fhp->fh_pre_change;
^
fs/nfsd/xdr4.h:638:27: error: ‘struct svc_fh’ has no member named
‘fh_post_change’
cinfo->after_change = fhp->fh_post_change;
^
fs/nfsd/xdr4.h:639:31: error: ‘struct svc_fh’ has no member named ‘fh_pre_ctime’
cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
^
fs/nfsd/xdr4.h:640:32: error: ‘struct svc_fh’ has no member named ‘fh_pre_ctime’
cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
^
fs/nfsd/xdr4.h:641:30: error: ‘struct svc_fh’ has no member named ‘fh_post_attr’
cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
^
fs/nfsd/xdr4.h:642:31: error: ‘struct svc_fh’ has no member named ‘fh_post_attr’
cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
^
make[2]: *** [fs/nfsd/nfsctl.o] Error 1


Attachments:
randconfig-1423573447.txt (65.01 kB)