fs: Provide __inode_get_bytes()
[sfrench/cifs-2.6.git] / fs / stat.c
index c35610845ab19f8c17e4ef96e851cddc2205bba9..8a6aa8caf8917fea570ff861c1247ac5f8a519e3 100644 (file)
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -710,7 +710,7 @@ loff_t inode_get_bytes(struct inode *inode)
        loff_t ret;
 
        spin_lock(&inode->i_lock);
        loff_t ret;
 
        spin_lock(&inode->i_lock);
-       ret = (((loff_t)inode->i_blocks) << 9) + inode->i_bytes;
+       ret = __inode_get_bytes(inode);
        spin_unlock(&inode->i_lock);
        return ret;
 }
        spin_unlock(&inode->i_lock);
        return ret;
 }