> 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/
Doh!
Simon-
[ Stormix Technologies Inc. ][ NetNation Communications Inc. ]
[ sim@stormix.com ][ sim@netnation.com ]
[ Opinions expressed are not necessarily those of my employers. ]
-
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/