update to latest 2.6.27.26 stable kernel
[librecmc/librecmc.git] / target / linux / generic-2.6 / patches-2.6.27 / 008-squashfs_vfs_super.patch
1 --- a/fs/squashfs/inode.c
2 +++ b/fs/squashfs/inode.c
3 @@ -1179,7 +1179,7 @@ failure:
4  
5  static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf)
6  {
7 -       struct squashfs_sb_info *msblk = dentry->d_inode->i_sb->s_fs_info;
8 +       struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info;
9         struct squashfs_super_block *sblk = &msblk->sblk;
10  
11         TRACE("Entered squashfs_statfs\n");