Subject: Re: no-MMU build failure

From: Al Viro <[email-masked]>
Date: Thu, 28 Feb 2013 20:14:16 +0000

On Thu, Feb 28, 2013 at 03:08:24PM -0500, Mark Salter wrote:
> I'm seeing a build failure in linux-next for c6x (no-MMU):
> 
>   /linux-next/mm/shmem.c: In function 'shmem_file_setup':
>   /linux-next/mm/shmem.c:2936:2: error: 'error' undeclared (first use in this function)

Yechh...  My fault; I think the cleanest fix here is
	res = ERR_PTR(ramfs_nommu_expand_for_mapping(inode, size));
	if (res)
		goto put_dentry;

Will be fixed in the next signal.git pull...