]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/umount.c
umount: (recursive) add a cache to the table
authorDave Reisner <dreisner@archlinux.org>
Fri, 16 Nov 2012 04:18:07 +0000 (23:18 -0500)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Nov 2012 09:41:36 +0000 (10:41 +0100)
commit7b4a2697b17dcb9c1d7b1a51f03fbcc3638a2c7b
treee44929ffd54f4dbf11b66cef781982897a502d3e
parentbbf9ce79eca50e2c9464a4f81571dc2616a5a59b
umount: (recursive) add a cache to the table

Without this table libmount will not resolve paths, meaning that
umounting by relative path will fail.

[kzak@redhat.com: - use mnt_context_get_cache() to make it sensitive
                    to --no-canonicalize cmdline option]

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.c