diff options
author | Christoph Hellwig <hch@lst.de> | 2015-06-22 02:44:47 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-22 02:44:47 +0300 |
commit | 5809d5e083a0e6c7121724635db2a1a6f9b90d52 (patch) | |
tree | 8573712332f347b0cb53cb54f8bf8299d9959e51 /fs/xfs/xfs_log_priv.h | |
parent | 88ee2df7f2591133731c29d0ee93f3d37691df85 (diff) | |
download | linux-5809d5e083a0e6c7121724635db2a1a6f9b90d52.tar.xz |
xfs: use void pointers in log validation helpers
Compared to char pointers this saves us a lot of casting effort. Also
add another local variable to make the code easier to read.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
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 db7cbdeb2b42..1c87c8abfbed 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -409,7 +409,7 @@ struct xlog { /* The following field are used for debugging; need to hold icloglock */ #ifdef DEBUG - char *l_iclog_bak[XLOG_MAX_ICLOGS]; + void *l_iclog_bak[XLOG_MAX_ICLOGS]; #endif }; |