summaryrefslogtreecommitdiff
path: root/fs/befs/befs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/befs/befs.h')
-rw-r--r--fs/befs/befs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h
index 1fead8d56..35d19e873 100644
--- a/fs/befs/befs.h
+++ b/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