mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
ceph: replace list_entry with container_of
Usage of non-list.h list_entry function for container_of functionality replaced with direct use of container_of. Signed-off-by: Noah Watkins <noah@noahdesu.com> Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
6b8051855d
commit
fbbccec9c6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue