summaryrefslogtreecommitdiff
path: root/Documentation/device-mapper/striped.txt
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-14 22:12:25 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-14 22:12:25 +0300
commita9042defa29a01cc538b742eab047848e9b5ae14 (patch)
tree8990e86b37831ef58dfb0c7dd3459a51a435af01 /Documentation/device-mapper/striped.txt
parent6960d58240190a885c09e784b8dcc1345951a7c8 (diff)
parent74dcba3589fc184c7118905eda22b3a4aaef95ff (diff)
downloadlinux-a9042defa29a01cc538b742eab047848e9b5ae14.tar.xz
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial updates from Jiri Kosina. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: NTB: correct ntb_spad_count comment typo misc: ibmasm: fix typo in error message Remove references to dead make variable LINUX_INCLUDE Remove last traces of ikconfig.h treewide: Fix printk() message errors Documentation/device-mapper: s/getsize/getsz/
Diffstat (limited to 'Documentation/device-mapper/striped.txt')
-rw-r--r--Documentation/device-mapper/striped.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/device-mapper/striped.txt b/Documentation/device-mapper/striped.txt
index 45f3b91ea4c3..07ec492cceee 100644
--- a/Documentation/device-mapper/striped.txt
+++ b/Documentation/device-mapper/striped.txt
@@ -37,9 +37,9 @@ if (!$num_devs) {
die("Specify at least one device\n");
}
-$min_dev_size = `blockdev --getsize $devs[0]`;
+$min_dev_size = `blockdev --getsz $devs[0]`;
for ($i = 1; $i < $num_devs; $i++) {
- my $this_size = `blockdev --getsize $devs[$i]`;
+ my $this_size = `blockdev --getsz $devs[$i]`;
$min_dev_size = ($min_dev_size < $this_size) ?
$min_dev_size : $this_size;
}