nfsd: return success for non-NFS4 nfs4_state_start
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 17 Sep 2009 07:03:06 +0000 (17:03 +1000)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 17 Sep 2009 15:30:32 +0000 (11:30 -0400)
commitc0826574ddc0df486ecfc2d655e08904c6513209
tree2de65b3a490a1ef336073b568f05b8ceb8b9c2d5
parentb09333c4644d173d95b8f3fd4f1dc4375d91be2a
nfsd: return success for non-NFS4 nfs4_state_start

Today's linux-next build (sparc64_defconfig) failed like this:

In file included from arch/sparc/kernel/sys_sparc32.c:32:
include/linux/nfsd/nfsd.h: In function 'nfs4_state_start':
include/linux/nfsd/nfsd.h:177: error: no return statement in function returning non-void

Caused by commit 29ab23cc5d351658d01a4327d55e9106a73fd04f ("nfsd4: allow
nfs4 state startup to fail").  Please, if you add code that depends on a
CONFIG option, build with that option enabled and disabled.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/nfsd/nfsd.h