summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.28/008-squashfs_vfs_super.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28/008-squashfs_vfs_super.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/008-squashfs_vfs_super.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/008-squashfs_vfs_super.patch b/target/linux/generic-2.6/patches-2.6.28/008-squashfs_vfs_super.patch
new file mode 100644
index 000000000..f1dc2d751
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.28/008-squashfs_vfs_super.patch
@@ -0,0 +1,11 @@
+--- a/fs/squashfs/inode.c
++++ b/fs/squashfs/inode.c
+@@ -1179,7 +1179,7 @@ failure:
+
+ static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf)
+ {
+- struct squashfs_sb_info *msblk = dentry->d_inode->i_sb->s_fs_info;
++ struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info;
+ struct squashfs_super_block *sblk = &msblk->sblk;
+
+ TRACE("Entered squashfs_statfs\n");