diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-29 05:27:33 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-29 05:27:33 +0300 |
commit | b3b14aacc6765eb908f13d0422d9b2d0cd822e14 (patch) | |
tree | ecc02eb59f63ba49592e5ca48fb4855bfc1c4919 /fs/xfs/xfs_trans_ail.c | |
parent | 9ce632a28a41bd9aeeaa3913d95b23648a82c2ee (diff) | |
download | linux-b3b14aacc6765eb908f13d0422d9b2d0cd822e14.tar.xz |
xfs: don't cast inode_log_items to get the log_item
The cast is not type safe, and we can just dereference the first
member instead to start with.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
0 files changed, 0 insertions, 0 deletions