summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/squashfs_fs_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/squashfs/squashfs_fs_i.h')
-rw-r--r--fs/squashfs/squashfs_fs_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/squashfs_fs_i.h b/fs/squashfs/squashfs_fs_i.h
index 73588e7..d09fcd6 100644
--- a/fs/squashfs/squashfs_fs_i.h
+++ b/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
OpenPOWER on IntegriCloud