Re: XFS: 2.6.16-git13 warning??

From: Nathan Scott
Date: Mon Mar 27 2006 - 18:40:33 EST


On Mon, Mar 27, 2006 at 03:43:10PM -0800, Randy.Dunlap wrote:
>
> fs/xfs/linux-2.6/xfs_ioctl32.c:114: warning: initialization from incompatible pointer type
>
> vnode_t *vp = vn_to_inode(inode);
>
> vn_to_inode() wants a vnode, not an inode.
>
> should that be vn_from_inode(inode) ??

Yep, thanks Randy - I'll get that fixed up.

cheers.

--
Nathan
-
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/