diff options
Diffstat (limited to 'kernel/fs/minix/minix.h')
-rw-r--r-- | kernel/fs/minix/minix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/minix/minix.h b/kernel/fs/minix/minix.h index 1ebd11854..01ad81dca 100644 --- a/kernel/fs/minix/minix.h +++ b/kernel/fs/minix/minix.h @@ -84,7 +84,7 @@ static inline struct minix_sb_info *minix_sb(struct super_block *sb) static inline struct minix_inode_info *minix_i(struct inode *inode) { - return list_entry(inode, struct minix_inode_info, vfs_inode); + return container_of(inode, struct minix_inode_info, vfs_inode); } static inline unsigned minix_blocks_needed(unsigned bits, unsigned blocksize) |