Re: [PATCH mmotm] mm: page_mkwrite change prototype to match fault: fix sysfs

From: Eric Biederman
Date: Sun Mar 22 2009 - 16:40:52 EST


On Sun, Mar 22, 2009 at 11:36 AM, Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
> Fix warnings and return values in sysfs bin_page_mkwrite(), fixing
> fs/sysfs/bin.c: In function `bin_page_mkwrite':
> fs/sysfs/bin.c:250: warning: passing argument 2 of `bb->vm_ops->page_mkwrite' from incompatible pointer type
> fs/sysfs/bin.c: At top level:
> fs/sysfs/bin.c:280: warning: initialization from incompatible pointer type

In general this looks reasonable. It appears that linux-next has
changed the prototype
of page_mkwrite. Which is why I did not see this failure mode.
--
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/