Re: [PATCH 5/6] NOMMU: Fix race between ramfs truncation and shared mmap

From: Mike Frysinger
Date: Fri Jan 08 2010 - 19:57:46 EST


On Fri, Jan 8, 2010 at 17:05, David Howells wrote:
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -389,7 +389,7 @@ arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr,
> Âextern void arch_unmap_area(struct mm_struct *, unsigned long);
> Âextern void arch_unmap_area_topdown(struct mm_struct *, unsigned long);
> Â#else
> -extern void arch_pick_mmap_layout(struct mm_struct *mm) {}
> +static inline void arch_pick_mmap_layout(struct mm_struct *mm) {}
> Â#endif

oh, i guess the static inline change was moved to this patch for some reason ...
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/