]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/xfs/xfs_iocore.c
Merge branch 'locks' of git://linux-nfs.org/~bfields/linux
[mv-sheeva.git] / fs / xfs / xfs_iocore.c
index 89441e69cdde7c36ce0a26c7f40510e5e887596c..81548ec72ba6073b2b910b79d74e8d763ce06fae 100644 (file)
@@ -24,7 +24,6 @@
 #include "xfs_trans.h"
 #include "xfs_sb.h"
 #include "xfs_ag.h"
-#include "xfs_dir.h"
 #include "xfs_dir2.h"
 #include "xfs_dfrag.h"
 #include "xfs_dmapi.h"
@@ -32,7 +31,6 @@
 #include "xfs_bmap_btree.h"
 #include "xfs_alloc_btree.h"
 #include "xfs_ialloc_btree.h"
-#include "xfs_dir_sf.h"
 #include "xfs_dir2_sf.h"
 #include "xfs_attr_sf.h"
 #include "xfs_dinode.h"
@@ -54,7 +52,7 @@ STATIC xfs_fsize_t
 xfs_size_fn(
        xfs_inode_t             *ip)
 {
-       return (ip->i_d.di_size);
+       return XFS_ISIZE(ip);
 }
 
 STATIC int