The patch titled xfs: use container_of in vn_from_inode() has been added to the -mm tree. Its filename is xfs-use-container_of-in-vn_from_inode.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: xfs: use container_of in vn_from_inode() From: Alexey Dobriyan <adobriyan@xxxxxxxxx> There is no list in vnode <=> inode correspondence. Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Nathan Scott <nathans@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/xfs/linux-2.6/xfs_vnode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/xfs/linux-2.6/xfs_vnode.h~xfs-use-container_of-in-vn_from_inode fs/xfs/linux-2.6/xfs_vnode.h --- a/fs/xfs/linux-2.6/xfs_vnode.h~xfs-use-container_of-in-vn_from_inode +++ a/fs/xfs/linux-2.6/xfs_vnode.h @@ -93,7 +93,7 @@ typedef enum { */ static inline struct bhv_vnode *vn_from_inode(struct inode *inode) { - return (bhv_vnode_t *)list_entry(inode, bhv_vnode_t, v_inode); + return container_of(inode, bhv_vnode_t, v_inode); } static inline struct inode *vn_to_inode(struct bhv_vnode *vnode) { _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are git-acpi.patch git-block.patch git-ieee1394.patch git-libata-all.patch git-mtd.patch git-netdev-all.patch git-net.patch git-nfs.patch xfs-remove-dir-check-in-xfs_link.patch xfs-use-container_of-in-vn_from_inode.patch x86-dont-trigger-full-rebuild-via-config_mtrr.patch dont-trigger-full-rebuild-via-config_x86_mce.patch remove-config_parport_arc-drivers-parport-parport_arcc.patch two-additions-to-linux-documentation-ioctl-numbertxt.patch more-bug_on-conversion.patch emu10k1-mark-midi_spinlock-as-used.patch nbd-endian-annotations.patch documentation-ioctl-messtxt-start-tree-wide-ioctl-registry.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html