summaryrefslogtreecommitdiffstats
path: root/kernel/fs/affs/affs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/affs/affs.h')
-rw-r--r--kernel/fs/affs/affs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/affs/affs.h b/kernel/fs/affs/affs.h
index cffe8370f..c69a87eaf 100644
--- a/kernel/fs/affs/affs.h
+++ b/kernel/fs/affs/affs.h
@@ -64,7 +64,7 @@ struct affs_inode_info {
/* short cut to get to the affs specific inode data */
static inline struct affs_inode_info *AFFS_I(struct inode *inode)
{
- return list_entry(inode, struct affs_inode_info, vfs_inode);
+ return container_of(inode, struct affs_inode_info, vfs_inode);
}
/*