Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168804
b: refs/heads/master
c: 837711f
h: refs/heads/master
v: v3
  • Loading branch information
Coly Li authored and Joel Becker committed Oct 29, 2009
1 parent fb834b0 commit 1b8fa4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f48d593b6ceb7bb63d34124ceba77d33be298cf
refs/heads/master: 837711f862bb71ac263837a0f0714dd8cc4ef7ea
4 changes: 4 additions & 0 deletions trunk/fs/ocfs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,10 @@ static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf)
buf->f_bavail = buf->f_bfree;
buf->f_files = numbits;
buf->f_ffree = freebits;
buf->f_fsid.val[0] = crc32_le(0, osb->uuid_str, OCFS2_VOL_UUID_LEN)
& 0xFFFFFFFFUL;
buf->f_fsid.val[1] = crc32_le(0, osb->uuid_str + OCFS2_VOL_UUID_LEN,
OCFS2_VOL_UUID_LEN) & 0xFFFFFFFFUL;

brelse(bh);

Expand Down

0 comments on commit 1b8fa4c

Please sign in to comment.