summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/ceph/super.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index a3d4943581d0..05947b96c524 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -364,7 +364,7 @@ struct ceph_inode_info {
static inline struct ceph_inode_info *ceph_inode(struct inode *inode)
{
- return list_entry(inode, struct ceph_inode_info, vfs_inode);
+ return container_of(inode, struct ceph_inode_info, vfs_inode);
}
static inline void ceph_i_clear(struct inode *inode, unsigned mask)