]> err.no Git - linux-2.6/blobdiff - fs/sysv/inode.c
[PATCH] ufs: wrong type cast
[linux-2.6] / fs / sysv / inode.c
index 3ff89cc5833a4ea88156204541375cce9307b6aa..58b2d22142ba67dc81aa8d9bff0f909808d4c250 100644 (file)
@@ -85,8 +85,9 @@ static void sysv_put_super(struct super_block *sb)
        kfree(sbi);
 }
 
-static int sysv_statfs(struct super_block *sb, struct kstatfs *buf)
+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);
 
        buf->f_type = sb->s_magic;