There is no list in vnode <=> inode correspondence. Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> --- fs/xfs/linux-2.6/xfs_vnode.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- a/fs/xfs/linux-2.6/xfs_vnode.h +++ b/fs/xfs/linux-2.6/xfs_vnode.h @@ -118,7 +118,7 @@ typedef enum { */ static inline struct vnode *vn_from_inode(struct inode *inode) { - return (vnode_t *)list_entry(inode, vnode_t, v_inode); + return (vnode_t *)container_of(inode, vnode_t, v_inode); } static inline struct inode *vn_to_inode(struct vnode *vnode) { - 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