Blob Blame History Raw
From abc8ac7620ef08b10cdf61676686ea3d20b0cd30 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Thu, 19 Jul 2018 04:18:51 +0200
Subject: [PATCH 1/2] deps: update nix to 0.11

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
 Cargo.toml                                  | 2 +-
 src/engine/strat_engine/backstore/device.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 44b3635..685eca9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ authors = ["Stratis Developers <stratis-devel@lists.fedorahosted.com>"]
 [dependencies]
 dbus = {version = "0.6.1", optional = true}
 clap = "2"
-nix = "0.10"
+nix = "0.11"
 devicemapper = "0.22.0"
 crc = "1"
 byteorder = "1"
diff --git a/src/engine/strat_engine/backstore/device.rs b/src/engine/strat_engine/backstore/device.rs
index fe803bc..dad8267 100644
--- a/src/engine/strat_engine/backstore/device.rs
+++ b/src/engine/strat_engine/backstore/device.rs
@@ -16,7 +16,7 @@ use super::super::super::types::{DevUuid, PoolUuid};
 use super::metadata::StaticHeader;
 use super::util::get_udev_block_device;
 
-ioctl!(read blkgetsize64 with 0x12, 114; u64);
+ioctl_read!(blkgetsize64, 0x12, 114, u64);
 
 pub fn blkdev_size(file: &File) -> StratisResult<Bytes> {
     let mut val: u64 = 0;
-- 
2.18.0