On Tue, Jun 20, 2006 at 12:42:15AM -0700, Andrew Morton wrote: > On Tue, 20 Jun 2006 17:28:19 +1000 > Nathan Scott <nathans@xxxxxxx> wrote: > > On Mon, Jun 19, 2006 at 11:59:31PM -0700, Andrew Morton wrote: > > > > - return (vnode_t *)list_entry(inode, vnode_t, v_inode); > > > > + return (vnode_t *)container_of(inode, vnode_t, v_inode); > > > > Whats the point of this change? > > It's just a cleanup. We're not dealing with a list_head here, so don't use > list_head functions on it. Mkay, fair enough. > > list_entry == container_of. > > Is list_entry being removed from list.h? > > Nope. > > > This wont apply as-is to -mm, as the XFS code has moved on. > > I fixed that up. Thanks. -- Nathan - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html