mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* XFS: 2.6.16-git13 warning??
@ 2006-03-27 23:43 Randy.Dunlap
  2006-03-27 23:43 ` Nathan Scott
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-03-27 23:43 UTC (permalink / raw)
  To: lkml


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: XFS: 2.6.16-git13 warning??
  2006-03-27 23:43 XFS: 2.6.16-git13 warning?? Randy.Dunlap
@ 2006-03-27 23:43 ` Nathan Scott
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2006-03-27 23:43 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: lkml

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-27 23:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-27 23:43 XFS: 2.6.16-git13 warning?? Randy.Dunlap
2006-03-27 23:43 ` Nathan Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®