]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: don't ignore root fs on umount -a
authorKarel Zak <kzak@redhat.com>
Tue, 14 May 2013 08:32:56 +0000 (10:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 May 2013 08:32:56 +0000 (10:32 +0200)
commit0b56c459568405213085d8f7ec1f76b7a85d7907
tree8f4e9231f61aec214ad4eb6cf9d1d40820a35eee
parent507341f83296f0e7786d8bfbb5d77a4de1666f3f
libmount: don't ignore root fs on umount -a

The release v2.22 (the new umount) introduces a regression when root
fs is excluded from umount --all. There is not reason for this
exception. The libmount should be smart enough to disable mtab update
after rootfs umount.

Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_umount.c