Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139768
b: refs/heads/master
c: 1c5b454
h: refs/heads/master
v: v3
  • Loading branch information
Coly Li authored and Linus Torvalds committed Apr 3, 2009
1 parent e0e1826 commit 3035703
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2fc7f562b439a361c62b9d8a67733a164fb6136f
refs/heads/master: 1c5b45411f93b44a6f3dde3328f88f11bca1bca5
3 changes: 3 additions & 0 deletions trunk/fs/sysv/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ static int sysv_statfs(struct dentry *dentry, struct kstatfs *buf)
{
struct super_block *sb = dentry->d_sb;
struct sysv_sb_info *sbi = SYSV_SB(sb);
u64 id = huge_encode_dev(sb->s_bdev->bd_dev);

buf->f_type = sb->s_magic;
buf->f_bsize = sb->s_blocksize;
Expand All @@ -98,6 +99,8 @@ static int sysv_statfs(struct dentry *dentry, struct kstatfs *buf)
buf->f_files = sbi->s_ninodes;
buf->f_ffree = sysv_count_free_inodes(sb);
buf->f_namelen = SYSV_NAMELEN;
buf->f_fsid.val[0] = (u32)id;
buf->f_fsid.val[1] = (u32)(id >> 32);
return 0;
}

Expand Down

0 comments on commit 3035703

Please sign in to comment.