diff options
Diffstat (limited to 'kernel/fs/befs/befs.h')
-rw-r--r-- | kernel/fs/befs/befs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/befs/befs.h b/kernel/fs/befs/befs.h index 1fead8d56..35d19e873 100644 --- a/kernel/fs/befs/befs.h +++ b/kernel/fs/befs/befs.h @@ -112,7 +112,7 @@ BEFS_SB(const struct super_block *super) static inline struct befs_inode_info * BEFS_I(const struct inode *inode) { - return list_entry(inode, struct befs_inode_info, vfs_inode); + return container_of(inode, struct befs_inode_info, vfs_inode); } static inline befs_blocknr_t |