Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260339
b: refs/heads/master
c: 8f04d42
h: refs/heads/master
i:
  260337: dc1d1d2
  260335: b7561ac
v: v3
  • Loading branch information
Greg Farnum authored and Sage Weil committed Jul 26, 2011
1 parent 5061d2c commit 2fef757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e77dc3e9c061e50c67e2e1a604d0a370f40db298
refs/heads/master: 8f04d42276048b3baff5a5d8fa769f433c62b63e
3 changes: 1 addition & 2 deletions trunk/fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ static int ceph_statfs(struct dentry *dentry, struct kstatfs *buf)
*/
buf->f_bsize = 1 << CEPH_BLOCK_SHIFT;
buf->f_blocks = le64_to_cpu(st.kb) >> (CEPH_BLOCK_SHIFT-10);
buf->f_bfree = (le64_to_cpu(st.kb) - le64_to_cpu(st.kb_used)) >>
(CEPH_BLOCK_SHIFT-10);
buf->f_bfree = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10);
buf->f_bavail = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10);

buf->f_files = le64_to_cpu(st.num_objects);
Expand Down

0 comments on commit 2fef757

Please sign in to comment.