On Thu, Feb 28, 2013 at 04:31:11PM -0800, Andrew Morton wrote: > -#ifndef CONFIG_MMU > - error = ramfs_nommu_expand_for_mapping(inode, size); > - res = ERR_PTR(error); > - if (error) > + > + res = ERR_PTR(ramfs_nommu_expand_for_mapping(inode, size)); > + if (IS_ERR(res)) > goto put_dentry; My variant of fix leaves #ifndef in place and makes the check if (res) goto... I'm not opposed to killing the ifndef, but I think it should be a separate patch. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>