git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14bb3b5
)
Revert "Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)"
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 27 Jun 2011 17:14:15 +0000
(18:14 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 28 Jun 2011 08:48:46 +0000
(09:48 +0100)
This reverts commit
5cab0d6c807d8a3bf9690375c663d11a10e21656
.
perl/lib/Sys/Guestfs/Lib.pm
patch
|
blob
|
history
diff --git
a/perl/lib/Sys/Guestfs/Lib.pm
b/perl/lib/Sys/Guestfs/Lib.pm
index
188d735
..
4f094de
100644
(file)
--- a/
perl/lib/Sys/Guestfs/Lib.pm
+++ b/
perl/lib/Sys/Guestfs/Lib.pm
@@
-894,7
+894,7
@@
sub _find_filesystem
my $label = $1;
foreach (sort keys %$fses) {
if (exists $fses->{$_}->{label} &&
- $fses->{$_}->{label}
=~ /$label/i
) {
+ $fses->{$_}->{label}
eq $label
) {
return ($_, $fses->{$_});
}
}