vserver 2.0 rc7
[linux-2.6.git] / fs / xfs / xfs_dir2.c
index bd06288..49fc0a3 100644 (file)
@@ -165,7 +165,7 @@ xfs_dir2_isempty(
        if (dp->i_d.di_size > XFS_IFORK_DSIZE(dp))
                return 0;
        sfp = (xfs_dir2_sf_t *)dp->i_df.if_u1.if_data;
-       return INT_ISZERO(sfp->hdr.count, ARCH_CONVERT);
+       return !sfp->hdr.count;
 }
 
 /*