]> err.no Git - linux-2.6/blobdiff - fs/qnx4/inode.c
[PATCH] Allow raw_notifier callouts to unregister themselves
[linux-2.6] / fs / qnx4 / inode.c
index e6cca5cd4b44154983c52ed233a8f0860c1cb6cc..2f24c46f72a1bdc19b21062c78cfb07838a67151 100644 (file)
@@ -128,7 +128,7 @@ static struct inode *qnx4_alloc_inode(struct super_block *sb);
 static void qnx4_destroy_inode(struct inode *inode);
 static void qnx4_read_inode(struct inode *);
 static int qnx4_remount(struct super_block *sb, int *flags, char *data);
-static int qnx4_statfs(struct super_block *, struct kstatfs *);
+static int qnx4_statfs(struct dentry *, struct kstatfs *);
 
 static struct super_operations qnx4_sops =
 {
@@ -282,8 +282,10 @@ unsigned long qnx4_block_map( struct inode *inode, long iblock )
        return block;
 }
 
-static int qnx4_statfs(struct super_block *sb, struct kstatfs *buf)
+static int qnx4_statfs(struct dentry *dentry, struct kstatfs *buf)
 {
+       struct super_block *sb = dentry->d_sb;
+
        lock_kernel();
 
        buf->f_type    = sb->s_magic;