]> err.no Git - linux-2.6/blobdiff - fs/bfs/inode.c
[PATCH] proc: Replace proc_inode.type with proc_inode.fd
[linux-2.6] / fs / bfs / inode.c
index e7da03f63a5a3fb299256df3c336fd135c9ab2c2..cf74f3d4d966d0f81c8abace34a1bfe79d9050e8 100644 (file)
@@ -203,8 +203,9 @@ static void bfs_put_super(struct super_block *s)
        s->s_fs_info = NULL;
 }
 
-static int bfs_statfs(struct super_block *s, struct kstatfs *buf)
+static int bfs_statfs(struct dentry *dentry, struct kstatfs *buf)
 {
+       struct super_block *s = dentry->d_sb;
        struct bfs_sb_info *info = BFS_SB(s);
        u64 id = huge_encode_dev(s->s_bdev->bd_dev);
        buf->f_type = BFS_MAGIC;