From: Kinglong Mee Date: Mon, 6 Jan 2014 03:28:41 +0000 (+0800) Subject: NFSD: fix compile warning without CONFIG_NFSD_V3 X-Git-Tag: v3.14-rc1~44^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff88825fbb9f5a503164bb5ad4a8c65dabfa13e0;p=pandora-kernel.git NFSD: fix compile warning without CONFIG_NFSD_V3 Without CONFIG_NFSD_V3, compile will get warning as, fs/nfsd/nfssvc.c: In function 'nfsd_svc': >> fs/nfsd/nfssvc.c:246:60: warning: array subscript is above array bounds [-Warray-bounds] return (nfsd_versions[2] != NULL) || (nfsd_versions[3] != NULL); ^ Reported-by: kbuild test robot Signed-off-by: Kinglong Mee Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed