diff options
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 1857c412d83..f461760c5b7 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -548,7 +548,7 @@ xfs_log_unmount_write(xfs_mount_t *mp) | |||
548 | .magic = XLOG_UNMOUNT_TYPE, | 548 | .magic = XLOG_UNMOUNT_TYPE, |
549 | }; | 549 | }; |
550 | struct xfs_log_iovec reg = { | 550 | struct xfs_log_iovec reg = { |
551 | .i_addr = (void *)&magic, | 551 | .i_addr = &magic, |
552 | .i_len = sizeof(magic), | 552 | .i_len = sizeof(magic), |
553 | .i_type = XLOG_REG_TYPE_UNMOUNT, | 553 | .i_type = XLOG_REG_TYPE_UNMOUNT, |
554 | }; | 554 | }; |