]> err.no Git - linux-2.6/blobdiff - fs/smbfs/proc.c
NFS: remove user_addr, user_count, and pos from nfs_direct_req
[linux-2.6] / fs / smbfs / proc.c
index b1b878b817306c22d0a9c06712e723f8992c1c3f..c3495059889df1958ce08ad570730d4921f429ca 100644 (file)
@@ -3226,9 +3226,9 @@ smb_proc_settime(struct dentry *dentry, struct smb_fattr *fattr)
 }
 
 int
-smb_proc_dskattr(struct super_block *sb, struct kstatfs *attr)
+smb_proc_dskattr(struct dentry *dentry, struct kstatfs *attr)
 {
-       struct smb_sb_info *server = SMB_SB(sb);
+       struct smb_sb_info *server = SMB_SB(dentry->d_sb);
        int result;
        char *p;
        long unit;