Re: [FS] Why doesn't this patch work?

From: Robert Love (rml@tech9.net)
Date: Wed Dec 05 2001 - 18:46:21 EST


On Wed, 2001-12-05 at 18:28, Simon Kirby wrote:
> I'm attempting to write this little dinky patch to see who calls fsync()
> or fdatasync(), but it's spitting out compiler warnings. I can't figure
> out why, though. What did I do wrong?
>
> buffer.c: In function `report_culprit':
> buffer.c:409: warning: assignment from incompatible pointer type
> buffer.c:410: warning: passing arg 2 of `d_path' from incompatible pointer type
> buffer.c:420: warning: passing arg 1 of `mntput' from incompatible pointer type

s/struct vfsmnt/struct vfsmount/

        Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:31 EST