diff options
| -rw-r--r-- | fs/ocfs2/super.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 960673004df1..14f47d2bfe02 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c  | |||
| @@ -1647,6 +1647,10 @@ static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
| 1647 | buf->f_bavail = buf->f_bfree; | 1647 | buf->f_bavail = buf->f_bfree; | 
| 1648 | buf->f_files = numbits; | 1648 | buf->f_files = numbits; | 
| 1649 | buf->f_ffree = freebits; | 1649 | buf->f_ffree = freebits; | 
| 1650 | buf->f_fsid.val[0] = crc32_le(0, osb->uuid_str, OCFS2_VOL_UUID_LEN) | ||
| 1651 | & 0xFFFFFFFFUL; | ||
| 1652 | buf->f_fsid.val[1] = crc32_le(0, osb->uuid_str + OCFS2_VOL_UUID_LEN, | ||
| 1653 | OCFS2_VOL_UUID_LEN) & 0xFFFFFFFFUL; | ||
| 1650 | 1654 | ||
| 1651 | brelse(bh); | 1655 | brelse(bh); | 
| 1652 | 1656 | ||
