diff options
author | Karel Zak | 2013-02-11 16:53:11 +0100 |
---|---|---|
committer | Karel Zak | 2013-02-11 16:53:11 +0100 |
commit | b8f2d06ed7695005b0f4a3376ce070cfc313e65b (patch) | |
tree | efb3822c8634f20cfd7d3d4642d0b5d253a21553 /libmount/src/fs.c | |
parent | libblkid: add missing le16_to_cpu to sil raid prober (diff) | |
download | kernel-qcow2-util-linux-b8f2d06ed7695005b0f4a3376ce070cfc313e65b.tar.gz kernel-qcow2-util-linux-b8f2d06ed7695005b0f4a3376ce070cfc313e65b.tar.xz kernel-qcow2-util-linux-b8f2d06ed7695005b0f4a3376ce070cfc313e65b.zip |
libmount: tags does not start with '/'
References: https://bugzilla.redhat.com/show_bug.cgi?id=909866
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/fs.c')
-rw-r--r-- | libmount/src/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/fs.c b/libmount/src/fs.c index 232a2f618..2df8ab1f3 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -311,7 +311,7 @@ int __mnt_fs_set_source_ptr(struct libmnt_fs *fs, char *source) assert(fs); - if (source && strchr(source, '=')) { + if (source && *source != '/' && strchr(source, '=')) { if (blkid_parse_tag_string(source, &t, &v) != 0) return -1; } |