diff options
Diffstat (limited to 'fs/ntfs/inode.h')
-rw-r--r-- | fs/ntfs/inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs/inode.h b/fs/ntfs/inode.h index 76b6cfb579d7..b3c3469de6cb 100644 --- a/fs/ntfs/inode.h +++ b/fs/ntfs/inode.h | |||
@@ -239,7 +239,7 @@ typedef struct { | |||
239 | */ | 239 | */ |
240 | static inline ntfs_inode *NTFS_I(struct inode *inode) | 240 | static inline ntfs_inode *NTFS_I(struct inode *inode) |
241 | { | 241 | { |
242 | return (ntfs_inode *)list_entry(inode, big_ntfs_inode, vfs_inode); | 242 | return (ntfs_inode *)container_of(inode, big_ntfs_inode, vfs_inode); |
243 | } | 243 | } |
244 | 244 | ||
245 | static inline struct inode *VFS_I(ntfs_inode *ni) | 245 | static inline struct inode *VFS_I(ntfs_inode *ni) |