]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Correctly handle '*' in /etc/filesystems
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Nov 2011 12:29:25 +0000 (12:29 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Nov 2011 18:40:37 +0000 (18:40 +0000)
commita02f57faa9a7be0e7d1506a12d8778e52877cf39
treeb9a2a552cb4a7adacebd538b42eacd62523bbcbd
parent065ecf5162b3b5699e3f071817d5cf702d5a88c7
Correctly handle '*' in /etc/filesystems

The /etc/filesystems file can contain a '*' on the last line to
indicate that /proc/filessystems should be tried next. We have
a check that this '*' only occurs on the last line. Unfortunately
when we then start reading /proc/filesystems, we mistakenly think
we've seen '*' in /proc/filesystems and fail

* src/lxc/lxc_container.c: Skip '*' validation when we're reading
  /proc/filesystems
src/lxc/lxc_container.c