umount.cifs: clean-up entries in /etc/mtab after unmount
commitdb2cfcb5ec62dd5b3c36c56a44e2bf84610d2f9e
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>
Thu, 5 Feb 2009 19:17:48 +0000 (5 14:17 -0500)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2009 12:06:39 +0000 (27 13:06 +0100)
tree6eac81f2ec6d98c78ab37aec4ec0ba6dbb286e41
parent8cb2ae3c092a5b44ea9b63eeaef4baaa29b83941
umount.cifs: clean-up entries in /etc/mtab after unmount

This patch removes the remaining entry in /etc/mtab after a filesystem
is unmounted by canonicalizing the mountpoint supplied on the command
line.

Please refer to bug 4370 in samba bugzilla.
(cherry picked from commit 27f34cb57c4e4299cb43c14e22c5b15053c898ea)
source/client/umount.cifs.c