Skip to contentSkip to conversation

XFS: 2.6.16-git13 warning??

DISCUSSION Randy.Dunlap 2 participants 2 messages Mar 27, 2006

lore
Share & tools
lore
#0 lore raw

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) ??

thanks,
---
~Randy

#1 lore raw
Quoted 8 lines · Randy.Dunlap

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.

Signature · 1 line
Nathan