Subject: Re: linux-next: Tree for Mar 8 (nfsd)

From: Christoph Hellwig <[email-masked]>
Date: Tue, 8 Mar 2016 09:02:42 -0800

On Tue, Mar 08, 2016 at 08:55:29AM -0800, Randy Dunlap wrote:
> On 03/07/16 21:51, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Changes since 20160307:
> > 
> 
> on x86_64:
> when CONFIG_BLOCK is not enabled:
> 
> ../fs/nfsd/nfs4layouts.c: In function 'nfsd4_setup_layout_type':
> ../fs/nfsd/nfs4layouts.c:145:39: error: dereferencing pointer to incomplete type
>       sb->s_bdev && sb->s_bdev->bd_disk->fops->pr_ops)
>                                        ^

My fault, this will need a CONFIG_BLOCK ifdef.  I'll send a fix.