diff options
author | Noah Watkins <noah@noahdesu.com> | 2009-10-28 14:54:49 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-28 20:44:22 -0400 |
commit | fbbccec9c6218cbc9ff47c6d88bfc6b52079e3ea (patch) | |
tree | 883496f51f79c49ec7e58888401b88dc356a03e5 /fs/ceph/super.h | |
parent | 6b8051855d983db8480ff1ea1b02ef2b49203c22 (diff) |
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>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 2 |
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 { | |||
364 | 364 | ||
365 | static inline struct ceph_inode_info *ceph_inode(struct inode *inode) | 365 | static inline struct ceph_inode_info *ceph_inode(struct inode *inode) |
366 | { | 366 | { |
367 | return list_entry(inode, struct ceph_inode_info, vfs_inode); | 367 | return container_of(inode, struct ceph_inode_info, vfs_inode); |
368 | } | 368 | } |
369 | 369 | ||
370 | static inline void ceph_i_clear(struct inode *inode, unsigned mask) | 370 | static inline void ceph_i_clear(struct inode *inode, unsigned mask) |