diff options
author | Chris Zankel <chris@zankel.net> | 2009-04-03 05:29:05 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2009-04-03 05:29:05 -0400 |
commit | 65127d28e312bb6b38ce84a7bb71d762ef63ad4c (patch) | |
tree | d5fdf52a2d0731f7fab0ce0ed394faac50b04fbc /fs/isofs/inode.c | |
parent | b8bb76713ec50df2f11efee386e16f93d51e1076 (diff) | |
parent | 8fe74cf053de7ad2124a894996f84fa890a81093 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into merge
Diffstat (limited to 'fs/isofs/inode.c')
-rw-r--r-- | fs/isofs/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index 13d2eddd0692..b4cbe9603c7d 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
@@ -923,6 +923,7 @@ out_freesbi: | |||
923 | static int isofs_statfs (struct dentry *dentry, struct kstatfs *buf) | 923 | static int isofs_statfs (struct dentry *dentry, struct kstatfs *buf) |
924 | { | 924 | { |
925 | struct super_block *sb = dentry->d_sb; | 925 | struct super_block *sb = dentry->d_sb; |
926 | u64 id = huge_encode_dev(sb->s_bdev->bd_dev); | ||
926 | 927 | ||
927 | buf->f_type = ISOFS_SUPER_MAGIC; | 928 | buf->f_type = ISOFS_SUPER_MAGIC; |
928 | buf->f_bsize = sb->s_blocksize; | 929 | buf->f_bsize = sb->s_blocksize; |
@@ -932,6 +933,8 @@ static int isofs_statfs (struct dentry *dentry, struct kstatfs *buf) | |||
932 | buf->f_bavail = 0; | 933 | buf->f_bavail = 0; |
933 | buf->f_files = ISOFS_SB(sb)->s_ninodes; | 934 | buf->f_files = ISOFS_SB(sb)->s_ninodes; |
934 | buf->f_ffree = 0; | 935 | buf->f_ffree = 0; |
936 | buf->f_fsid.val[0] = (u32)id; | ||
937 | buf->f_fsid.val[1] = (u32)(id >> 32); | ||
935 | buf->f_namelen = NAME_MAX; | 938 | buf->f_namelen = NAME_MAX; |
936 | return 0; | 939 | return 0; |
937 | } | 940 | } |