]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/linux-2.6/xfs_vnode.h
Merge branch 'master' into gfs2
[linux-2.6-omap-h63xx.git] / fs / xfs / linux-2.6 / xfs_vnode.h
index 35c6a01963a77c9c52af0ba70453926aab316f04..515f5fdea57a0af1317bf4d03827685dfbd2fb00 100644 (file)
@@ -85,15 +85,13 @@ typedef enum {
 #define VN_BHV_HEAD(vp)                        ((bhv_head_t *)(&((vp)->v_bh)))
 #define vn_bhv_head_init(bhp,name)     bhv_head_init(bhp,name)
 #define vn_bhv_remove(bhp,bdp)         bhv_remove(bhp,bdp)
-#define vn_bhv_lookup(bhp,ops)         bhv_lookup(bhp,ops)
-#define vn_bhv_lookup_unlocked(bhp,ops) bhv_lookup_unlocked(bhp,ops)
 
 /*
  * Vnode to Linux inode mapping.
  */
 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)
 {