summaryrefslogtreecommitdiffstats
path: root/kernel/fs/squashfs/squashfs_fs_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/squashfs/squashfs_fs_i.h')
-rw-r--r--kernel/fs/squashfs/squashfs_fs_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/squashfs/squashfs_fs_i.h b/kernel/fs/squashfs/squashfs_fs_i.h
index 73588e770..d09fcd6fb 100644
--- a/kernel/fs/squashfs/squashfs_fs_i.h
+++ b/kernel/fs/squashfs/squashfs_fs_i.h
@@ -49,6 +49,6 @@ struct squashfs_inode_info {
static inline struct squashfs_inode_info *squashfs_i(struct inode *inode)
{
- return list_entry(inode, struct squashfs_inode_info, vfs_inode);
+ return container_of(inode, struct squashfs_inode_info, vfs_inode);
}
#endif