mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
12 lines
381 B
Diff
12 lines
381 B
Diff
|
--- 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");
|