X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fsmbfs%2Fproc.c;h=c3495059889df1958ce08ad570730d4921f429ca;hb=f17a2686b11453680e9662ef8bdc8d948d0dce18;hp=d6baec0f24ad5fb28f3bb34ba65e11428c186989;hpb=ac34dd052400b1e63aa8e711a13c0670943296fd;p=~andy%2Flinux diff --git a/fs/smbfs/proc.c b/fs/smbfs/proc.c index d6baec0f24a..c3495059889 100644 --- a/fs/smbfs/proc.c +++ b/fs/smbfs/proc.c @@ -8,6 +8,7 @@ */ #include +#include #include #include #include @@ -3225,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;