diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-21 02:35:53 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-04-21 02:35:53 +0200 |
commit | decb545fc081a1f03d4216831afb82482e8b6342 (patch) | |
tree | 287b1c1b3d349aa98548e4da2056a3ffc088880a /fs/xfs/xfs_log_priv.h | |
parent | xfs: pass lv chain length into xlog_write() (diff) | |
download | linux-decb545fc081a1f03d4216831afb82482e8b6342.tar.xz linux-decb545fc081a1f03d4216831afb82482e8b6342.zip |
xfs: change the type of ic_datap
Turn ic_datap from a char into a void pointer given that it points
to arbitrary data.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[dgc: also remove (char *) cast in xlog_alloc_log()]
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index a070a2c827ce..20d818c14003 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -190,7 +190,7 @@ typedef struct xlog_in_core { u32 ic_offset; enum xlog_iclog_state ic_state; unsigned int ic_flags; - char *ic_datap; /* pointer to iclog data */ + void *ic_datap; /* pointer to iclog data */ struct list_head ic_callbacks; /* reference counts need their own cacheline */ |