]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/xfs/xfs_log.c
xfs: fix the xfs_log_iovec i_addr type
[mirror_ubuntu-zesty-kernel.git] / fs / xfs / xfs_log.c
index 1857c412d8399c8c74b617e9ce8dac7b993430b7..f461760c5b7618047e62c19353145846e086a375 100644 (file)
@@ -548,7 +548,7 @@ xfs_log_unmount_write(xfs_mount_t *mp)
                                .magic = XLOG_UNMOUNT_TYPE,
                        };
                        struct xfs_log_iovec reg = {
-                               .i_addr = (void *)&magic,
+                               .i_addr = &magic,
                                .i_len = sizeof(magic),
                                .i_type = XLOG_REG_TYPE_UNMOUNT,
                        };