umount.cifs: clean-up entries in /etc/mtab after unmount
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>
Thu, 5 Feb 2009 19:18:36 +0000 (14:18 -0500)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 Jul 2009 07:22:11 +0000 (09:22 +0200)
commitdcbeddb3fad94eea4d623c13d4eb51b86f0f6fe3
tree2c0c87be503434754265aa1e87aec78502bcc279
parent0be10db1016cb0a2fc2631840efd276377980798
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 df341bd2b83cc67e31d5b91ae39b4f4f7619ffd0)
source/client/umount.cifs.c