OSDN Git Service

nfs: provide pnfs_report_layoutstat when NFS42 is disabled
authorPeng Tao <tao.peng@primarydata.com>
Thu, 25 Jun 2015 10:19:32 +0000 (18:19 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 26 Jun 2015 18:01:37 +0000 (14:01 -0400)
commit865a7ecb2131a3ba26cc1d49daf18275375109f0
tree67d77d73581a6529d787ec02efd8a6b86e692d54
parent97ba375b5df43790aa82c256f7f16ee8eb95c272
nfs: provide pnfs_report_layoutstat when NFS42 is disabled

kbuild test robot reported:
   fs/built-in.o: In function `pnfs_report_layoutstat':
>> (.text+0x151a1c): undefined reference to `nfs42_proc_layoutstats_generic'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h