]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/linux-2.6/xfs_linux.h
[XFS] kill vn_to_inode
[linux-2.6-omap-h63xx.git] / fs / xfs / linux-2.6 / xfs_linux.h
index 4d45d9351a6c7d0faef80065b73cc235714be712..1b8dfdcac0a5841daa5d3b7f95b0088bad5979eb 100644 (file)
 #define xfs_sort(a,n,s,fn)     sort(a,n,s,fn,NULL)
 #define xfs_stack_trace()      dump_stack()
 #define xfs_itruncate_data(ip, off)    \
-       (-vmtruncate(vn_to_inode(XFS_ITOV(ip)), (off)))
+       (-vmtruncate(VFS_I(ip), (off)))
 
 
 /* Move the kernel do_div definition off to one side */